Feb-27-2021, 01:52 AM
Hi Alienspecimen
Interesting question, I found there is an interactive mode, in which plots are automatically displayed. You might be working in an environment which defaults to interactive mode. If you were to write a program and run it as a script, you typically would not be interactive mode. Here is the official docs and related functions:
https://matplotlib.org/stable/api/_as_ge...ive%20mode
Also see Appendix B in the below:
https://realpython.com/python-matplotlib-guide/
Interesting question, I found there is an interactive mode, in which plots are automatically displayed. You might be working in an environment which defaults to interactive mode. If you were to write a program and run it as a script, you typically would not be interactive mode. Here is the official docs and related functions:
https://matplotlib.org/stable/api/_as_ge...ive%20mode
Also see Appendix B in the below:
https://realpython.com/python-matplotlib-guide/