ffmpeg is missing in the docker container
When running the electron scattering example in the Drude model using thebelab in the browser, it throws an error since ffmpeg is missing in the docker container.
---------------------------------------------------------------------------
KeyError Traceback (most recent call last)
/srv/conda/envs/notebook/lib/python3.7/site-packages/matplotlib/animation.py in __getitem__(self, name)
160 try:
--> 161 return self.avail[name]
162 except KeyError:
KeyError: 'ffmpeg'
During handling of the above exception, another exception occurred:
RuntimeError Traceback (most recent call last)
<ipython-input-2-1d760e8cb039> in <module>
65 plt.close();
66
---> 67 HTML(anim.to_html5_video())
/srv/conda/envs/notebook/lib/python3.7/site-packages/matplotlib/animation.py in to_html5_video(self, embed_limit)
1324 # We create a writer manually so that we can get the
1325 # appropriate size for the tag
-> 1326 Writer = writers[rcParams['animation.writer']]
1327 writer = Writer(codec='h264',
1328 bitrate=rcParams['animation.bitrate'],
/srv/conda/envs/notebook/lib/python3.7/site-packages/matplotlib/animation.py in __getitem__(self, name)
162 except KeyError:
163 raise RuntimeError(
--> 164 'Requested MovieWriter ({}) not available'.format(name))
165
166
RuntimeError: Requested MovieWriter (ffmpeg) not available