I have a Python Script which is producing a plot, everything works fine. But I would like to keep this plot open (to compare it with others), this doesn't work, the script doesn't continue to run until I have closed the plot window. Any suggestions what I can do? Thanks :)
import matplotlib.pyplot as plt; plt.ion()plt.figure(). Alternatively, be more explicit on which axis you are plotting stuff:fig, (ax1, ax2) = plt.subplots(1,2); ax1.plot(x1, y1); ax2.plot(x2, y2).