graphs_sizer = wx.BoxSizer(wx.VERTICAL)
graphs_sizer.Add(chart_canvas, 20, flag=wx.EXPAND, border=5)
graphs_sizer.Add(chart_toolbar, 1, flag=wx.ALIGN_CENTER, border=5)
graphs_panel.SetSizer(graphs_sizer)
Embedding Interactive matplotlib figures in wxPython