Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Description
Documentation Link
https://matplotlib.org/stable/users/explain/animations/blitting.html
Problem
the blitting minimal example with pause does not work (tested on Windows and Linux), the line (ln)/ ax.plot is shown for only one frame each animation step. calss based example or minimal without pasue works fine
Suggested improvement
Add the draw_event callback from the extended example, like this:
def on_draw(event): """Callback to register with 'draw_event'.""" fig.canvas.figure.draw_artist(ln)fig.canvas.mpl_connect("draw_event", on_draw)
also add the necessity of this callback to the strategy part of the documentation