Michael Droettboom wrote:
> I don't understand why anyone would want the one on the left,
> but if you can provide a use case for it, it should be implementable.
I know I can't. I think john may be right that it's just not that hard
to do by hand.
-Chris
--
Christopher Barker, Ph.D.
Oceanog
John wrote:
"I believe the unspoken consensus was it is easy to set the alpha on
the figurePatch and axesPatch so a global alpha was unneccessary."
It still might be convenient to make this an option on savefig. Sure it's only
a few lines of code, but not necessarily obvious lines of code.
Wa
Nils,
I saw your bump about this transparency issue. Before moving forward on
this, I'd like to know what your use case is. I've attached a mock-up
example. On the left is the effect of changing the alpha value of
everything to 50% (what you and Christopher had suggested). But it
seems to
Of course, this depends on what you mean by transparency. If you mean
to change the alpha of the entire PNG, then yes, the global parameter
(or postprocessing) is the way to go. But I'm not sure how useful that
is -- that will still lighten things behind the figure and axes patch.
A more use
Nils Wagner wrote:
> "John Hunter" <[EMAIL PROTECTED]> wrote:
>> I wonder if we should support a global rc alpha
I'd make it an optional parameter to savefig(), but I like the idea.
Of course one could pretty easily post-process it as well.
-CHB
--
Christopher Barker, Ph.D.
Oceanographe
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
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_su
Hi all,
Is it possible to produce transparent png's with mpl ?
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/ser