Matplotlib: How To Show Plot Again?
Let say I make a plot in Ipython Notebook, and after couples of cells, I want to render it again, so I can compare it with other plots. How can I do it? a = [1,2,3,4] b = [3,4,5,6
Solution 1:
You can plot like this:
a = [1,2,3,4]
b = [3,4,5,6]
f = plt.figure()
f.add_subplot(111).plot(a, b,'-', color='black')
Then render again just by calling f
.
Post a Comment for "Matplotlib: How To Show Plot Again?"