[wxPython-users] Re: matplotlib crashing wxpython gui constantly

Robin Dunn robin at alldunn.com
Mon Apr 2 11:28:42 PDT 2007


C M wrote:

> Thanks, I looked at the examples and found the ones you mentioned.  But 
> all those examples show the plot sitting on the frame, not on a panel.  
> It works for me if I put a plot as a page of a wxNotebook, but I can't 
> get it to display the plot when it is sitting on a panel.  It just draws 
> the background, but no figure canvas.  I had similar issues with using 
> pyplot.  In fact, in both cases if there is any sort of error, what gets 
> drawn is a small (maybe 32x32) box of the plot.  Weird.
> 
> Do you know why this is?  And how do you get a figure to sit on a 
> panel?  Sorry for the confusion.

Use a sizer.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list