Hi list  :)

I'm having troubles with windows vista and the wxpython toolbar.
it works fine on linux (not tested on any other windows//mac os)
I just see a gray bar where the toolbar should be.

I do something like this:
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as
FigureCanvas
from matplotlib.figure import Figure

        self.fig=Figure(figsize=(width, height),dpi=dpi)
        self.canvas = FigureCanvas(parent,-1,self.fig)
        self.toolbar = NavigationToolbar2Wx(self.canvas)
        self.toolbar.Realize()
        self.SetToolBar(self.toolbar)
        self.toolbar.update()

(I can paste more code if relevant)
I'm wondering what I'm doing wrong?
----
This message contains confidential information and may contain information that 
is legally privileged.  If you have received this message by mistake, please 
immediately notify us and delete the original message. Thank you.  

Ce message contient des informations confidentielles.  S'il vous est parvenu 
par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire 
aucun usage et de n'en garder aucune copie.
----

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to