sorry, I forget the patch
very simple.no big deal.
On Thu, Oct 1, 2009 at 2:04 PM, Gewton Jhames wrote:
> worked fine.
>
>
> On Thu, Oct 1, 2009 at 1:10 PM, Michael Droettboom wrote:
>
>> I'm not quite clear on what changes you made. Can you provide a patch?
>>
>> Also -- have you tested the c
worked fine.
On Thu, Oct 1, 2009 at 1:10 PM, Michael Droettboom wrote:
> I'm not quite clear on what changes you made. Can you provide a patch?
>
> Also -- have you tested the change I committed here:
>
>
> http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplot
"solved".
In the system with the 0.99 version, in the file axes.py, class Axes, method
pie, the shadow is created:
if shadow:
# make sure to add a shadow after the call to
# add_patch so the figure and transform props will be
# set
I'm not quite clear on what changes you made. Can you provide a patch?
Also -- have you tested the change I committed here:
http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/branches/v0_99_maint/lib/matplotlib/patches.py?r1=7443&r2=7837&pathrev=7837
Cheers,
Mike
Gewton Jhames wrote:
> "s
Yeah, alpha handling is a bit of a mess -- it should probably be
revamped in light of the fact that most places now accept rgba. We just
need to decide if there is a good solution that doesn't break backward
compatibility, or whether we should just break compatibility (e.g.
remove set/get_alph
OK, yesterday I was taking a look to the patch module. then, I went home.
Today, I'll continue to look at these properties of alpha. because, yes,
that's what's happening. one have alpha .5 and the other, 1.
Answering Mike's question: the first system (the one I've wrote the code) is
ubuntu 9.04, t
Mike,
I think this maybe related with some changes in how alpha is set (this
happened sometime early this year I guess).
I think the issue here is, when the shadow patch is created, it sets
its facecolor with alpha=0.5., i.e., its _facecolor is something like
(r, g, b, 0.5). But, shadow._alpha =
I'm still not seeing a difference between 0.98.5 and 0.99.1 here. I
further investigation of the code shows that there were no changes in
how the shadow color is computed between these versions. Is it possible
you're using an even earlier version? You can determine it using:
>>> import ma
sorry, this is the script:
#!/usr/bin/python
# -*- coding: utf-8 -*-
from pylab import *
from matplotlib.pyplot import figure, show
from matplotlib.patches import Ellipse
import numpy as np
figure(1, figsize=(6,6), facecolor='#ff')
ax = axes([0.1, 0.1, 0.8, 0.8])
labels = 'label1', 'label2'
Can you provide the script that produces these graphs? I don't see any
difference between 0.98.5 and 0.99.1 on the included pie_demo.py
example. Which backend are you using?
Mike
Gewton Jhames wrote:
> Hello, I'm having two different results in the shadow of a graph. I
> develop the graph in
10 matches
Mail list logo