tw, th = chart_toolbar.GetSizeTuple()
fw, fh = chart_canvas.GetSizeTuple()
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)
graphs_sizer.Add(chart_toolbar, 1, flag=wx.ALIGN_CENTER, border=5)
graphs_panel.SetSizer(graphs_sizer)
Встраивание интерактивных рисунков matplotlib в wxPython