isinteractive

isinteractive()[source]

Call matplotlib.pyplot.isinteractive. This is included so you don’t have to import pyplot.