Re: [matplotlib-devel] rendering problem in mplot3d

2010-07-18 Thread João Luís Silva
On 07/18/2010 04:58 AM, H Mike Duan wrote: Hi, There seems to be a problem in how 3D surfaces and lines are rendered in mplot3d. The following is a simple script that plots a yellow sphere, a blue wireframe on the surface of the sphere, and a red wireframe outside the sphere. The

[matplotlib-devel] Bug plotting very small values

2010-06-11 Thread João Luís Silva
Hi, Plotting some very small values (~1E-306) will break mpl with the error: File /usr/lib/python2.5/site-packages/matplotlib/backends/backend_agg.py, line 154, in draw_text self._renderer.draw_text_image(font.get_image(), int(x), int(y) + 1, angle, gc) OverflowError: cannot convert

[matplotlib-devel] Some keys generate tracebacks in the GTK backend

2010-06-01 Thread João Luís Silva
Hi, Pressing tab, the Windows key or the right click key (and maybe others) on a plot with the GTKAgg or GTK backend causes the following traceback: Traceback (most recent call last): File /usr/lib/python2.5/site-packages/matplotlib/backends/backend_gtk.py, line 264, in key_press_event

Re: [matplotlib-devel] Removing lines leaks memory

2010-05-28 Thread João Luís Silva
On 05/28/2010 09:18 AM, Pearu Peterson wrote: , say, every second and the experiment can last hours, I have tried two approaches: 1) clear axes and plot new experimental data - this is slow and takes too much cpu resources. 2) remove lines and plot new experimental data - this is fast enough

[matplotlib-devel] Exception for the colorbar of a imshow of zeroes

2010-05-21 Thread João Luís Silva
Hi, Using the SVN version the following example fails with: File /usr/local/lib/python2.6/dist-packages/matplotlib/colors.py, line 815, in inverse raise ValueError(Inversion requires valid vmax vmin) ValueError: Inversion requires valid vmax vmin This was introduced in svn revision

[matplotlib-devel] usetex='True' and annotate generates a traceback for certain texts

2009-04-06 Thread João Luís Silva
Hi, annotate and usetex='True' can trigger a traceback if the text is invalid. A space or an underscore generate this behavior, I haven't tried others. Ubuntu 8.10, mpl svn (rev. 7032). Once again feel free to ignore this, I just feel compelled to report all mpl bugs :) JLS Example:

Re: [matplotlib-devel] interactive property editor

2009-03-12 Thread João Luís Silva
Paul Kienzle wrote: Hi, What's the status of interactive property editors for mpl graphs? I would like something that would allow me to change properties such as the size and position of the graph, grids, scales, ranges, colors, symbols, line styles, fonts, etc., and add annotations.

[matplotlib-devel] Pan and zoom tool makes markers disappear

2009-01-31 Thread João Luís Silva
Hi, I found a minor bug. Clicking with the pan and zoom tool on a plot with markers and the markevery option makes the markers disappear. OS: Ubuntu Matplotlib svn revision 6861 Backend: GTKAgg. Didn't test any others. Example script: import

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