Version 2.2.4
matplotlib

matplotlib.pyplot.isinteractive

matplotlib.pyplot.isinteractive()[source]

Return status of interactive mode.