Is there any way to create the plot in steps, showing the progress each time plt.show method is called? Even if a play around with plt.show(block=False) or plt.show(block=True) not able to make it work.
import matplotlib.pyplot as plt
xvals = [i for i in range(0, 10)]
yvals1 = [i**2 for i in range(0, 10)]
yvals2 = [i**3 for i in range(0, 10)]
yvals3 = [i**4 for i in range(0, 10)]
f, ax = plt.subplots(1)
ax.plot(xvals, yvals1)
plt.show(block=False)
raw_input("Program paused. Press Enter to continue...")
ax.plot(xvals, yvals2)
plt.show() # Need to close the window to go ahead.
raw_input("Program paused. Press Enter to continue...")
ax.plot(xvals, yvals3)
plt.show(block=False)
raw_input("Program paused. Press Enter to continue...")
I am running matplotlib==2.0.0 in a virtualenv with Pydev. Any idea?