Re: [matplotlib-devel] Line2D.set_pickradius missing in svn

2009-01-26 Thread Eric Firing
Martin Spacek wrote: > Hi, > > I just updated my checkout to rev 6829, and it seems > lines.Line2D.set_pickradius > has been renamed to setpickradius. Is this a typo? get_pickradius still > exists. > This is on line 318 in lines.py. Renaming it back to set_pickradius seems > make > it work t

[matplotlib-devel] Line2D.set_pickradius missing in svn

2009-01-26 Thread Martin Spacek
Hi, I just updated my checkout to rev 6829, and it seems lines.Line2D.set_pickradius has been renamed to setpickradius. Is this a typo? get_pickradius still exists. This is on line 318 in lines.py. Renaming it back to set_pickradius seems make it work the way it used to. Cheers, Martin

[matplotlib-devel] gtk backend silently ignores all exceptions

2009-01-26 Thread Jae-Joon Lee
Michael, It seems that the gtk backend in the current svn silently ignores ALL exceptions raised during the drawing. http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/lib/matplotlib/backends/backend_gtk.py?r1=6696&r2=6793 Is this necessary? I don't think we want to do this

Re: [matplotlib-devel] Bug in Agg-based backends when yscale == "log"?

2009-01-26 Thread Michael Droettboom
Okay -- I think I've at least narrowed it down to a cause. Agg uses fixed-point arithmetic to render at the low-level -- by default it uses 24.8 (i.e. 24 integer bits and 8 fractional bits). Therefore, it can only handle pixel coordinates in the range -2^23 to 2^23. Both of the provided exam

Re: [matplotlib-devel] Bug in Agg-based backends when yscale == "log"?

2009-01-26 Thread Michael Droettboom
Thanks for this. I believe both of these examples illustrate a shortcoming in Agg when the distance between two points on either end of a line is too great. I'll do some digging around and see what may be causing this and if any limits can be adjusted -- I may not get to this today, however. M

Re: [matplotlib-devel] Bug in Agg-based backends when yscale == "log"?

2009-01-26 Thread João Luís Silva
Jan Müller wrote: > Hi, > > The simple code snippet at the end of this mail should plot a single line. > I can confirm this bug on Ubuntu running matplotlib svn revision 6827. However I think it doesn't have to do with the log-scale but with the big variations on the x-scale and the custom xs

[matplotlib-devel] Bug in Agg-based backends when yscale == "log"?

2009-01-26 Thread Jan Müller
Hi, The simple code snippet at the end of this mail should plot a single line. Unfortunately, depending on - the backend - the windowsize - and the pan/zoom position inside the plot one or more additional lines appear. Under windows it looks like this: http://img217.imageshack.us/my.php?imag