Dear Chris, Thank your very much for your prompt reply.
2008/11/20 Christopher Barker <[EMAIL PROTECTED]>: > well, I love sizers -- but they do take a while to wrap your brain around. I love Python *and* wxPython/wxWidgets -- but having worked several years with RAD tools like Visual Basic and (much better) Borland Delphi, I find all available GUI builders for Python very limited (and sizers are among these perceived limitations). > Your difficulty probably stems from using a combination of wxGlade and > handwritten code. Also, I don't know if wxGlade forces you to do it this As a matter of fact, wxGlade forces one to do this. I usually do not like (or use) code generated by wxGlade, but for rapid prototyping I find it to be better than, for example, Boa Constructor (which is as huge and slow is the boa snakes themselves). > you've given "self" as the parent of your FigureCanvas, when it needs to be > parented by the Panel it goes on, which I think is self.PlotPanel, so the > above line should be: Sure, it worked, but I still have problems with properly sizing the figure. This I could amend by declaring: self.figure = Figure() instead of self.figure = Figure(figsize=(10,5)) and: self.ax = self.figure.add_subplot(111) instead of self.ax = self.figure.add_axes([0,0,1,1]) However the figure is still not properly sized when the window is maximized (but this is obviously another problem with my handling of wxPython classes). I hope to have this example up and running as it may be a useful addition to the collection of examples in the Basemap module, saving a lot of time for others! With best regards, -- Dr. Mauro J. Cavalcanti Ecoinformatics Studio P.O. Box 46521, CEP 20551-970 Rio de Janeiro, RJ, BRASIL E-mail: [EMAIL PROTECTED] Web: http://studio.infobio.net Linux Registered User #473524 * Ubuntu User #22717 "Life is complex. It consists of real and imaginary parts." ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users