class test(wx.Frame):

    def __init__(self):
        wx.Frame.__init__(self, None, title='Main frame')
figure = Figure(None)
fc = FigureCanvasWxAgg(self, -1, figure)
subplot = figure.add_subplot(111)
subplot.plot(np.arange(10))
self.Show()
if __name__ == '__main__':
    app = wx.App(0)
testframe = test()
app.MainLoop()
Embedding Seaborn plot in WxPython panel