mpl.pyplot.FigureCanvasBase.is_saving

FigureCanvasBase.is_saving()[source]

Returns True when the renderer is in the process of saving to a file, rather than rendering for an on-screen buffer.