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
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
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
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
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
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
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