Re: [matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread Jae-Joon Lee
> > This was causing havoc in contourf; I don't see the logic of multiplying a > previous alpha by a new one. Consider a following example that you want to have different alpha for edgecolor and face color (of course this does not work as of now), Circle((1, 1), 0.5, ec=(1, 1, 1, 0.2), fc=(1, 0,

Re: [matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread Eric Firing
John Hunter wrote: > > > On Mon, Mar 23, 2009 at 3:24 PM, Jae-Joon Lee > wrote: > > The example (e) in my previous script have a code and a text label > mismatched. > I'm attaching the corrected one. > > I took a more look on how a patch is drawn. >

Re: [matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread John Hunter
On Mon, Mar 23, 2009 at 3:24 PM, Jae-Joon Lee wrote: > The example (e) in my previous script have a code and a text label > mismatched. > I'm attaching the corrected one. > > I took a more look on how a patch is drawn. > the draw() method of a patch calls draw_path method of the renderer, > which

Re: [matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread Eric Firing
Jae-Joon Lee wrote: > > Thanks for the explanation. > I personally think that the default behavior for setting alpha is > better to be multiplying with the previous one, instead of overriding. This was causing havoc in contourf; I don't see the logic of multiplying a previous alpha by a new one

Re: [matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread Jae-Joon Lee
The example (e) in my previous script have a code and a text label mismatched. I'm attaching the corrected one. I took a more look on how a patch is drawn. the draw() method of a patch calls draw_path method of the renderer, which seems to be responsible for both "fill", and "stroke". But there is

Re: [matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread Eric Firing
Jae-Joon Lee wrote: > Hi, > > When drawing a patch, the alpha value of its edgeolor is ignored. The > following command draw a circle whose edgecolor has alpha=1, instead > of 0.1. > > > gca().add_patch(Circle((0.5, 0.5), 0.3, >ec=(1,0,0,0.1), fc="none")) > > > Attached

Re: [matplotlib-devel] Patch for screenshot.rst - pie

2009-03-23 Thread Michael Droettboom
I'm definitely not smarter than you, but I had looked at backend_cairo more recently :) I've done the merge. Cheers, Mike Ryan May wrote: > Checked in on the branch. I'm seeing some merge conflicts on > backend_cairo.py at the moment, so I'll let someone smarter than me merge to > trunk. :) >

[matplotlib-devel] patches have incorrect alpha values

2009-03-23 Thread Jae-Joon Lee
Hi, When drawing a patch, the alpha value of its edgeolor is ignored. The following command draw a circle whose edgecolor has alpha=1, instead of 0.1. gca().add_patch(Circle((0.5, 0.5), 0.3, ec=(1,0,0,0.1), fc="none")) Attached is a little test script and its output. It

Re: [matplotlib-devel] Patch for screenshot.rst - pie

2009-03-23 Thread Ryan May
Checked in on the branch. I'm seeing some merge conflicts on backend_cairo.py at the moment, so I'll let someone smarter than me merge to trunk. :) Good find. Ryan On Mon, Mar 23, 2009 at 1:01 PM, Sandro Tosi wrote: > Hi all, > I found a really nice typo: > > >>> > $ svn diff > Index: doc/use

[matplotlib-devel] Patch for screenshot.rst - pie

2009-03-23 Thread Sandro Tosi
Hi all, I found a really nice typo: >>> $ svn diff Index: doc/users/screenshots.rst === --- doc/users/screenshots.rst (revision 7000) +++ doc/users/screenshots.rst (working copy) @@ -82,7 +82,7 @@ == The :func:`~matplot

Re: [matplotlib-devel] Rasterized artists have wrong transform

2009-03-23 Thread Eric Bruning
Hi Jae-Joon, On Sun, Mar 22, 2009 at 8:55 PM, Jae-Joon Lee wrote: > Hi Eric, > > Have you find a solution for your problem? > I recently encountered a similar problem. > In my case, the images (I'm rasterizing the pcolormesh) are in wrong > size if the output dpi is other than 72. > And I guess t

Re: [matplotlib-devel] can't copy 'lib/matplotlib/mathtext.py'

2009-03-23 Thread Michael Droettboom
Perhaps a merge failed on lib/matplotlib/mathtext.py? If you know you don't have any local changes to that file that you need, you can just remove it and "svn up" again. I can't see a reason why this is a repository-side problem... no properties have changed on that file for a long time. Mik

[matplotlib-devel] can't copy 'lib/matplotlib/mathtext.py'

2009-03-23 Thread Nils Wagner
Hi all, I cannot install matplotlib from recent svn. python setup.py install --prefix=$HOME/local BUILDING MATPLOTLIB matplotlib: 0.98.6svn python: 2.5.1 (r251:54863, Dec 21 2007, 09:21:07)