W3cubDocs

/Matplotlib 3.5

matplotlib.pyplot.draw_if_interactive

matplotlib.pyplot.draw_if_interactive()[source]

Redraw the current figure if in interactive mode.

Warning

End users will typically not have to call this function because the the interactive mode takes care of this.

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.5.1/api/_as_gen/matplotlib.pyplot.draw_if_interactive.html