for i in range(3): print("Info ",i) plt.figure() plt.plot(np.arange(10)*(i+1))
In the IPython notebook, three informational messages will be printed first, and then build three numbers.
Which command can I use to ensure consistent display of prints and graphs? That is, print "Info 0", a graph of "Figure 0", type "Info 1", a graph of "Figure 1", etc.
This is a simple example with blue bones. In my case, this is much more complicated, and it is important to get the behavior right.
source share