8000 Merge pull request #23432 from Davide-sd/doc_animation · matplotlib/matplotlib@72cee0a · GitHub
[go: up one dir, main page]

Skip to content

Commit 72cee0a

Browse files
authored
Merge pull request #23432 from Davide-sd/doc_animation
Fixed typo in docs animation api
2 parents 37ccdca + 62d0983 commit 72cee0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/animation_api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ artist at a global scope and let Python sort things out. For example ::
111111

112112
fig, ax = plt.subplots()
113113
xdata, ydata = [], []
114-
ln, = plt.plot([], [], 'ro')
114+
ln, = ax.plot([], [], 'ro')
115115

116116
def init():
117117
ax.set_xlim(0, 2*np.pi)

0 commit comments

Comments
 (0)
0