How enable and check interactive mode?
Check whether interactive mode is ON (True) or OFF (False):
import matplotlib as mpl import matplotlib.pyplot as plt # Set the interactive mode to ON plt.ion() # Check the current status of interactive mode print(mpl.is_interactive())
2018-11-02T13:26:18+05:30
2018-11-02T13:26:18+05:30
Amit Arora
Amit Arora
Python Programming Tutorial
Python
Practical Solution