Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db31e6c

Browse files
committed
PRF: replace more draw -> draw_idle calls
1 parent 644b4b2 commit db31e6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -681,11 +681,11 @@ def draw():
681681
:class:`~matplotlib.figure.Figure` instance, :attr:`fig`, that
682682
was created using a :mod:`~matplotlib.pyplot` function, is::
683683
684-
fig.canvas.draw()
684+
fig.canvas.draw_idle()
685685
686686
687687
"""
688-
get_current_fig_manager().canvas.draw()
688+
get_current_fig_manager().canvas.draw_idle()
689689

690690

691691
@docstring.copy_dedent(Figure.savefig)

0 commit comments

Comments
 (0)