matplotlib_examples/examples_src/user_interfaces/embedding_in_wx2.py
def OnInit(self):
        'Create the main window and insert the custom frame'
        self.Init()
        frame = CanvasFrame()
        frame.Show(True)

        return True
Create the main window and insert the custom frame
Create the main window and insert the custom frame
Create the main window and insert the custom frame
def OnInit(self):
        self.Init()
        frame = CanvasFrame()
        frame.Show(True)
        return True
def OnInit ( self ) : self . Init ( ) frame = CanvasFrame ( ) frame . Show ( True ) return True
Create the main window and insert the custom frame
Create the main window and insert the custom frame
'Create the main window and insert the custom frame'
self