|
From: <and...@ti...> - 2005-03-06 20:23:03
|
Hello NG,
first of all, I would like to thank you a for your kind support. I ca=
me
across a couple of problems using Matplotlib/Pylab, and I would like to
ask if someone else has encountered them or if I am missing something.
First of all, I am on a WinXP, with:
- Python 2.3.4
- wxPython 2.5.3.1
- Numeric 23.7
- I use WXAgg
- Matplotlib/Pylab 0.72.1
Problem 1:
I have downloaded the examples at:
http://matplotlib.sourceforge.net/matplotlib_examples_0.72.zip
If, for example, I try to run the keypress_demo.py, and if I resize the
window "too fast" (but it's not really fast, is just a normal resize), I
get an unhandled exception like:
"An unhandled exception occurred. Press "Abort" to terminate the program,=
"Retry" to exit the program normally and "Ignore" to try to continue."
No matter which is my choice, the window crashes and I get the usual XP
message about sending error messages to Microsoft and so on. It is a stra=
nge
exception, if I resize the window VERY slowly, there is no exception (usu=
ally).
Problem 2:
Considering always the keypress_demo.py, if I run it (without resizing th=
e
window ;-) ) and I press the key "g" (for the grid), the grid appears and=
suddenly disappears. I opened the keypress_demo.py and I commented out th=
e
draw() command (that follows the grid() command), and now the grid does
not disappear. What could be the problem with draw()?!? I have to use it
in my application, but I am not able to display the grid...
Thank your for every suggestion, and sorry for the long post.
Andrea.
|