Skip to content

Commit

Permalink
Fixed initial frame bug (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Sep 24, 2017
1 parent b2697bd commit e37611e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def anim(self, start=0, stop=None, fps=30):
Method to return a matplotlib animation. The start and stop
frames may be specified as well as the fps.
"""
figure = self.initialize_plot()
figure = self.state or self.initialize_plot()
anim = animation.FuncAnimation(figure, self.update_frame,
frames=self.keys,
interval = 1000.0/fps)
Expand Down

0 comments on commit e37611e

Please sign in to comment.