Re: [Matplotlib-users] A second copy of a figure

2010-02-23 Thread Jim Vickroy
Bruce Ford wrote: > I'm needing to keep two copies of a figure, with the properties > different on one copy. > > However with logic like below, both copies remain the same regardless: > > #I want one copy with the defaul background and one to be transparent... > > imgname = GenFilename(20)+".pn

Re: [Matplotlib-users] A second copy of a figure

2010-02-23 Thread Alan G Isaac
On 2/23/2010 12:03 PM, Bruce Ford wrote: > Is there a way to make a true separate figure that > will allow me to alter properties in the new copy without altering the > original. > def make_my_figure(): fig = plt.figure() ... return fig fig1 = make_my_figure() fig2 = make_my_fi

[Matplotlib-users] A second copy of a figure

2010-02-23 Thread Bruce Ford
I'm needing to keep two copies of a figure, with the properties different on one copy. However with logic like below, both copies remain the same regardless: #I want one copy with the defaul background and one to be transparent... imgname = GenFilename(20)+".png" imgsrc = "../dynamic/"+i