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 matplotlib
   >>> matplotlib.__version__

Are there any other differences between the two installations, such as 
backend?

Cheers,
Mike

Gewton Jhames wrote:
> 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='#ffffff')
> ax = axes([0.1, 0.1, 0.8, 0.8])
>
> labels = 'label1', 'label2'
> fracs = [40, 60]
> colors = ['#E3AB9C', '#C6E9F8']
>
> explode=(0, 0.05)
>
> plots = pie(fracs, explode=explode, labels=labels, colors=colors, 
> autopct='%0.2f%%', shadow=True)
> plots[0][0].set_edgecolor('#E4471A')
> plots[0][1].set_edgecolor('#1AA8E4')
> title('Raining Hogs and Dogs', bbox={'facecolor':'0.8', 'pad':5})
>
>
> show()
>
>
> On Wed, Sep 30, 2009 at 5:19 PM, Michael Droettboom <md...@stsci.edu 
> <mailto:md...@stsci.edu>> wrote:
>
>     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 a system with matplotlib 0.98.5.
>         When I put the code in other machine, with the same version of
>         libpng, but with matplotlib 0.99.0, the shadow of the graph
>         has changed to a real bad one.
>
>         In attachment, the two generated graphs. I wish that the
>         graph's shadown generated in 0.99 be the same of 0.98.5.
>
>         Well, see the attachment and you'll understand.
>         thanks.
>
>         
> ------------------------------------------------------------------------
>
>
>         
> ------------------------------------------------------------------------
>
>         
> ------------------------------------------------------------------------
>
>         
> ------------------------------------------------------------------------------
>         Come build with us! The BlackBerry&reg; Developer Conference
>         in SF, CA
>         is the only developer event you need to attend this year.
>         Jumpstart your
>         developing skills, take BlackBerry mobile applications to
>         market and stay ahead of the curve. Join us from November
>         9&#45;12, 2009. Register now&#33;
>         http://p.sf.net/sfu/devconf
>         
> ------------------------------------------------------------------------
>
>         _______________________________________________
>         Matplotlib-users mailing list
>         Matplotlib-users@lists.sourceforge.net
>         <mailto:Matplotlib-users@lists.sourceforge.net>
>         https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>          
>
>
>     -- 
>     Michael Droettboom
>     Science Software Branch
>     Operations and Engineering Division
>     Space Telescope Science Institute
>     Operated by AURA for NASA
>
>

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to