matplotlib.pyplot.draw_if_interactive matplotlib.pyplot.draw_if_interactive() Redraw the current figure if in interactive mode.