I have a simple python script which plots some graphs in the same figure. All graphs are created by the draw() and in the end I call the show() function to block.
T
I had the same problem with this code below.
import matplotlib.pyplot as plt plt.ion() fig,ax0 = plt.subplots(figsize=(5.3,4)) plt.show()
I removed plt.ion(), and the plot stays without closing automatically.