我刚刚进入matplotlib.
我看到一些使用matplotlib.pyplot的例子,但是当将matplotlib与wxpython集成时,我经常会看到matplotlib.configure
from matplotlib.figure import Figure
...
vboxFigure = wx.BoxSizer(wx.VERTICAL)
self.figure = Figure()
self.axes = self.figure.add_subplot(111)
t = [1,2,3,4,5]
s = [0,0,0,0,0]
self.axes.plot(t,s, 'b-')
self.canvas = FigureCanvas(panel, -1, self.figure)
vboxFigure.Add(self.canvas, 1, wx.LEFT | wx.TOP | wx.EXPAND)
hbox.Add(vboxFigure, 1, flag=wx.EXPAND)
使用matplotlib.figure和matplotlib.pyplot绘制不同的区别?可以使用matplotlib.pyplot来构建wx应用程序吗?