chart_toolbar.SetSize(wx.Size(fw, th))
chart_toolbar.Realize()
graphs_sizer = wx.BoxSizer(wx.VERTICAL)
graphs_sizer.Add(chart_canvas, 20, flag=wx.EXPAND, border=5)
Embedding Interactive matplotlib figures in wxPython