Jan-27-2022, 07:31 PM
You can have more than one plot appear in a window. Look here in the documentation where it talks about working with multiple figures and axes.
https://matplotlib.org/stable/tutorials/...yplot.html
And here's an example of embedding a plot in a tkinter window.
https://matplotlib.org/stable/gallery/us...gskip.html
If you want a quick and dirty solution just make a script to make your two plots, then write a tkinter program that has a button which launches your plotting script as a subprocess.
https://matplotlib.org/stable/tutorials/...yplot.html
And here's an example of embedding a plot in a tkinter window.
https://matplotlib.org/stable/gallery/us...gskip.html
If you want a quick and dirty solution just make a script to make your two plots, then write a tkinter program that has a button which launches your plotting script as a subprocess.