diff --git a/doc/api/animation_api.rst b/doc/api/animation_api.rst index f64c19e8dfa1..3bd09cb74c8e 100644 --- a/doc/api/animation_api.rst +++ b/doc/api/animation_api.rst @@ -105,7 +105,7 @@ artist at a global scope and let Python sort things out. For example :: fig, ax = plt.subplots() xdata, ydata = [], [] - ln, = plt.plot([], [], 'ro', animated=True) + ln, = plt.plot([], [], 'ro') def init(): ax.set_xlim(0, 2*np.pi)