[Numpy-discussion] is there any alternative to savefig?
Thu Jan 28 06:57:08 CST 2010
to, 2010-01-28 kello 12:50 +0000, Robert Kiwanuka kirjoitti:
> If I could do something like fig1.savefig("y1-x1.png") or savefig("y1-
> x1.png").fig1, this would solve the problem but I'm not aware of any
> such methods or modules to enable this. This is thus a flaw in the
> general design/implementation of the savefig function, but is there an
> alternative function to enable me achieve what I need? Is there
> perhaps a possible tweak to savefig to make it do the same?
Well, you almost had the answer there: use
fig1fig = figure(1)
to save the respective figures.
There is a separate mailing list for Matplotlib-specific questions:
More information about the NumPy-Discussion