On Wed, 18 Jun 2008 09:17:27 -0500 "John Hunter" <[EMAIL PROTECTED]> wrote: > On Wed, Jun 18, 2008 at 8:56 AM, Nils Wagner > <[EMAIL PROTECTED]> wrote: > >> Is it possible to produce transparent png's with mpl ? > > Yes, but you must explicitly set the transparency on >every object you > want to be transparent:: > > fig = plt.figure() > fig.figurePatch.set_alpha(0.5) > > ax = fig.add_subplot(111) > ax.axesPatch.set_alpha(0.5) > > l, = ax.plot(x, y, alpha=0.8) > > t = ax.set_xlabel('hi', alpha=0.8) > > and so on.... > > I wonder if we should support a global rc alpha.... > +1
Nils ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel