|
From: vwf <vw...@vu...> - 2013-08-13 06:52:22
|
On Tue, Aug 13, 2013 at 04:43:19PM +1000, Stephen Gibson wrote:
> Call 'figure()' for each plot.
Like this you mean?
import matplotlib.pyplot as plt
a=plt.figure()
a=plt.plot([1, 2], [1, 2])
plt.savefig('1.png', dpi=100)
a=plt.figure()
a=plt.plot([1, 2], [2,1])
plt.savefig('2.png', dpi=100)
Thank you!
|