上QQ阅读APP看书,第一时间看更新
Getting ready
You need working installations of Python, NumPy, and Matplotlib packages.
Using the following commands, interactive mode can be set on or off, and also checked for current mode at any point in time:
- matplotlib.pyplot.ion() to set the interactive mode ON
- matplotlib.pyplot.ioff() to switch OFF the interactive mode
- matplotlib.is_interactive() to check whether the interactive mode is ON (True) or OFF (False)