10000 slight tweak to example, as discussed in #1451 to change `plt.draw()` · matplotlib/matplotlib@23582c3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 23582c3

Browse files
committed
slight tweak to example, as discussed in #1451 to change plt.draw()
-> `plt.pause(.001)` to fake animations.
1 parent 5bc2357 commit 23582c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/mplot3d/wire3d_animation_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ def generate(X, Y, phi):
3333
if oldcol is not None:
3434
ax.collections.remove(oldcol)
3535

36-
plt.draw()
36+
plt.pause(.001)
3737

3838
print ('FPS: %f' % (100 / (time.time() - tstart)))

0 commit comments

Comments
 (0)
0