Running a recent build from svn on OSX 10.5, the TkAgg interface
becomes unresponsive after plotting a histogram and calling show().
Here is a sample from the process, in case it is useful:
Sampling process 5635 for 3 seconds with 1 millisecond of run time
between samples
Sampling completed, proce
Hello Ray,
There appears to be something wrong with the way "val" is used in the
first code section (if val==0: val = 0 ?), unless it is modified
externally somehow?
I would also suggest adding random values or some such to make the test
data non-periodic, so that it doesn't always look the sa
Ray,
The first problem is that you are calling show() repeatedly, but show()
should only be called once per script; it is used in non-interactive
plotting. Now I see that you are trying to prevent that, but the code
as it came out in your email does not do so--val never gets set to zero.
Note
Hello
I am trying to use this application to plot a diagram from a log file that is
always active and storing data. I have written the following and I have issues
once I touch the figure window it freezes...
from pylab import *
import time
val = 1
while True:
inData = load('c:\\data.txt')
On Dec 2, 2007 2:07 PM, Yongtao Cui <[EMAIL PROTECTED]> wrote:
> Could anyone give me some help?
No help here, just providing a data point for the devs. Under linux, with
In [5]: wx.__version__
Out[5]: '2.8.4.0'
In [6]: matplotlib.__version__
Out[6]: '0.91.1'
I ran test(100) several times, n
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]> wrote:
> Hi,
>
>
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