Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Eric Firing
Jae-Joon Lee wrote: I just filed a bug related with this. https://sourceforge.net/tracker/?func=detailaid=2917758group_id=80706atid=560720 I think the possible solution could be 1) we keep the copied version of the input data as a cache, and provide a api to access the cache. 2) Or

Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Jae-Joon Lee
On Sun, Dec 27, 2009 at 2:37 PM, Eric Firing efir...@hawaii.edu wrote: What are the circumstances under which one would call set_data() and not want or need an update? If you ask me, I'm +1 to update the plot always. But, apparently, the original author of this code wanted to do some checks to

Re: [Matplotlib-users] Engineering prefixed units in tick labels

2009-12-27 Thread Reinier Heeres
Hi all, I like this patch and it works fine. So if nobody is against including this, I'll commit it in a few days. I'll move the example from the class comment to an example script. Cheers, Reinier On Wed, Dec 2, 2009 at 1:40 PM, John Hunter jdh2...@gmail.com wrote: On Wed, Dec 2, 2009 at

Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Eric Firing
Jae-Joon Lee wrote: On Sun, Dec 27, 2009 at 2:37 PM, Eric Firing efir...@hawaii.edu wrote: What are the circumstances under which one would call set_data() and not want or need an update? If you ask me, I'm +1 to update the plot always. But, apparently, the original author of this code

Re: [Matplotlib-users] [PyQt] Plotting resets autoscale_on to true

2009-12-27 Thread Eric Firing
Till Stensitzki wrote: Hello, i am using a Matplotlib figure as widget, in a PyQt4 programm. Everything works, except set_autoscale_on(False). Everytime i call a figure axes to plot something, it forgets its autoscale status. Here some code, with axs a subplot of a figure: |print

Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Eric Firing
I went ahead and committed (svn rev 8054) changes that I think address the problem, and that should slightly improve speed as well in some cases, without slowing anything down in other reasonable cases--unless there are subtleties I am missing. Or maybe I am missing something blatant.

Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Eric Firing
Eric Firing wrote: I went ahead and committed (svn rev 8054) changes that I think address the problem, and that should slightly improve speed as well in some cases, without slowing anything down in other reasonable cases--unless there are subtleties I am missing. Or maybe I am missing

[Matplotlib-users] savefig does not save text

2009-12-27 Thread Dr. Phillip M. Feldman
When I try to save a figure to a file using `savefig`, text in the figure (x-axis label, y-axis label, etc.) is not saved. Have other people encountered this problem? I'm using the Enthought Python Distribution 5.1.1 on a 32-bit Windows XP machine. -- View this message in context:

Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Jae-Joon Lee
On Sun, Dec 27, 2009 at 7:31 PM, Eric Firing efir...@hawaii.edu wrote: I don't understand what your script, below, is intended to do or show. I haven't run it with mpl prior to my change.  With the change, it simply draws a single line, or at least that is all I see on the plot. Before your

Re: [Matplotlib-users] Line update: set_data vs recache issue

2009-12-27 Thread Eric Firing
Jae-Joon Lee wrote: On Sun, Dec 27, 2009 at 7:31 PM, Eric Firing efir...@hawaii.edu wrote: I don't understand what your script, below, is intended to do or show. I haven't run it with mpl prior to my change. With the change, it simply draws a single line, or at least that is all I see on the