Output:
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-ifh__5fv because the default path (/root/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing. MovieWriter ffmpeg unavailable; using Pillow instead. Traceback (most recent call last): File "main.py", line 41, in <module> anim.save('basic_animation.mp4', fps=30, extra_args=['-vcodec', 'libx264']) File "/usr/local/lib/python3.6/dist-packages/matplotlib/animation.py", line 1117, in save writer = writer_cls(fps, **writer_kwargs) TypeError: __init__() got an unexpected keyword argument 'extra_args'