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.... JDH PS: these kinds of questions are best for the users list. In general: "how do I?" or "does such a feature exist?" or "why doesn't this work?" or "can you add this feature?" should go on users. "this is broken in svn" or "will you accept this patch" or "shouldn't the function x do something else?" and the like should be on the devel ------------------------------------------------------------------------- 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