Re: [matplotlib-devel] Contourf draws contour lines

2009-04-18 Thread John Hunter
On Sat, Apr 19, 2008 at 7:13 PM, Eric Firing wrote: > > > > 2.12.1) on an OSX machine. Btw, matplotlib does not build on OSX > > currently -- a person needs to upgrade gcc first (from 4.0.1 to 4.2). > > I saw John posted a compiler error (resulting from this problem) on > > some other list, so i

Re: [matplotlib-devel] Contourf draws contour lines

2009-04-17 Thread Thomas Foutz
I was getting a similar bug, mac os x, enthought python distribution. They weren't lines per se, but ugly seperations between filled contours. I tried a number of things, to no avail. Ultimately, the solution was just to replot the contourf multiple times. It took care of all the ugliness. Che

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-20 Thread Eric Firing
Stéfan, OK, I see some differences now, and it looks like it is related to antialiasing and the rendering of patch boundaries. I have run into this sort of thing before, where depending on how patch edges are handled, and depending on the particular renderer and viewer combination, antialiasi

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-20 Thread Stéfan van der Walt
And the attachment... On 20/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote: cef.py Description: Binary data - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-20 Thread Stéfan van der Walt
On 20/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote: > I don't see any contour lines; I see only the boundaries between patches. > In other words, the plot looks the way I would expect it to. This is with > evince or gv on a linux machine. (Both fail when trying to blow up the plot > to 400%, bu

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-20 Thread Eric Firing
Stéfan van der Walt wrote: > On 20/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote: >>> Odd, I'm using matplotlib 0.98pre (svn) with GTKAgg (gtk 2.12.8, pygtk >>> >> Very odd. Would you try writing out postscript and pdf, please, and see >> whether they behave the same way? > > The contour lines

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-20 Thread Stéfan van der Walt
On 20/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote: > > Odd, I'm using matplotlib 0.98pre (svn) with GTKAgg (gtk 2.12.8, pygtk > > > Very odd. Would you try writing out postscript and pdf, please, and see > whether they behave the same way? The contour lines are still visible: http://mentat.z

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-19 Thread Eric Firing
Stéfan van der Walt wrote: > Hi Eric > > On 18/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote: >> It doesn't on my machine with backend GtkAgg, and I have never seen this >> behavior. What backend are you using? > > Odd, I'm using matplotlib 0.98pre (svn) with GTKAgg (gtk 2.12.8, pygtk Very od

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-19 Thread Stéfan van der Walt
Hi Eric On 18/04/2008, Eric Firing <[EMAIL PROTECTED]> wrote: > It doesn't on my machine with backend GtkAgg, and I have never seen this > behavior. What backend are you using? Odd, I'm using matplotlib 0.98pre (svn) with GTKAgg (gtk 2.12.8, pygtk 2.12.1) on an OSX machine. Btw, matplotlib doe

Re: [matplotlib-devel] Contourf draws contour lines

2008-04-18 Thread Eric Firing
Stéfan van der Walt wrote: > Hi all, > > I noticed that, contrary to what the docstring says, > > contourf(Z,10) > > draws contour lines on the different levels. Stefan, It doesn't on my machine with backend GtkAgg, and I have never seen this behavior. What backend are you using? Eric > >

[matplotlib-devel] Contourf draws contour lines

2008-04-18 Thread Stéfan van der Walt
Hi all, I noticed that, contrary to what the docstring says, contourf(Z,10) draws contour lines on the different levels. The attached patch adds a draw_contours keyword that explicitly controls this behaviour. I don't know why it works (I set linewidths to 1 and the lines disappear?!), but it