Version 3.1.2
matplotlib

matplotlib.pyplot.isinteractive

matplotlib.pyplot.isinteractive()[source]

Return the status of interactive mode.