Skip to content

Commit

Permalink
Fixed bug renderering gif using mpl (#2843)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Jun 28, 2018
1 parent bb017f8 commit 0efabed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def _anim_data(self, anim, fmt):
if not hasattr(anim, '_encoded_video'):
with NamedTemporaryFile(suffix='.%s' % fmt) as f:
anim.save(f.name, writer=writer, **anim_kwargs)
video = open(f.name, "rb").read()
video = f.read()
return video


Expand Down

0 comments on commit 0efabed

Please sign in to comment.