Re: [Matplotlib-users] Windows doesn't support repeated draw()

2007-12-31 Thread Yongtao Cui
I had similar problem before. This is a bug in 0.91.1. It has been fixed in svn. You can try updating. Yongtao On Dec 31, 2007 5:21 PM, charles bartlett <[EMAIL PROTECTED]> wrote: > I ran the attached python program under Ubuntu and Windows2000 with > different results. I expect the results to b

Re: [Matplotlib-users] mouse coordinate precision in figures

2007-12-22 Thread Yongtao Cui
Hi Jack, In \matplotlib\axes.py, Axes.format_xdata() func = self.xaxis.get_major_formatter().format_data_short ->func = self.xaxis.get_major_formatter().format_data same for Axes.format_ydata() -Yongtao On Dec 22, 2007 1:46 PM, Jack Sankey <[EMAIL PROTECTED]> wrote: > Hello, > > When you make

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-04 Thread Yongtao Cui
I don't know why those spaces always don't show up on the mailing list webpage. They looked fine on my gmail page. The 'test' function only has one 'for' loop. The four lines below the 'for' line are all in the loop. On Dec 4, 2007 8:52 PM, Yongtao Cui

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-04 Thread Yongtao Cui
cked down the svn tree. The above script works ok in revision 3737 and before, but crashes from revision 3738 and after. Yongtao On Dec 2, 2007 4:15 PM, Yongtao Cui <[EMAIL PROTECTED]> wrote: > Below is the minimum code with the right indent > > import pylab > def test(n): > fo

Re: [Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-02 Thread Yongtao Cui
Below is the minimum code with the right indent import pylab def test(n): for i in range(n): f=pylab.figure(1) f.clf() a=f.add_axes([0.2, 0.2, 0.6, 0.6]) a.plot([1,2,3,4,5], 'ro') On Dec 2, 2007 4:07 PM, Yongtao Cui <[EMAIL PROTECTED]

[Matplotlib-users] RuntimeError after clearing and plotting for many times

2007-12-02 Thread Yongtao Cui
Hi, I got the following error when clearing and plotting on the same figure for many times. I found the following minimum code to reproduce this error. I am using matplotlib-0.91.1 and wxpython2.8 on windows xp. In the matplotlibrc file, I changed the backend to WXAgg and interactive to True. imp