David Snowdon wrote: > Hi all, > > This will probably end up being my very silly mistake, but at the > moment, Matplotlib crashes my program with an X error whenever my window > isn't expanded far enough. > > For those interested, it is a front-end for the strategy and analysis > software for the Sunswift solar car (http://www.sunswift.com). I attach > a screenshot (when it is expanded to the full screen, and therefore > works) in case it helps. > > > da...@daves:~/projects/sunswift/carsoft/scanalysis$ python -c "import > matplotlib; print matplotlib.__version__" > 0.91.2 >
I read the code you sent. You shouldn't import pylab (neither pyplot?), although you don't seem to be using it. Maybe the paint_event is firing when it shouldn't? Aside from that, my only advice would be to update matplotlib to the latest version. JLS ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users