How to continually open a matplotlib plot in the same location?
I’ve looked here and here trying to figure out how to make my matplotlib plot open in the same window location EVERY TIME. I’m using TkAgg for my backend, and using the code below I can only get the FIRST plot to open in the set location. When the program loops back and runs this part again, then the plot opens in a different location. I’m using Windows 10, Python 3.7.7 64-bit through Visual Studio Code.
fig = plt.figure(5)
figManager = plt.get_current_fig_manager()