使用Matplotlib在wxPython的Panel上绘制曲线图,需要导入:
import numpy
from matplotlib.backends.backend_wxagg import FigureCanvasWxAgg as FigureCanvas
from matplotlib.figure import Figure
下面直接贴...
安装
注:安装版本是有要求的。
Works out-of-the-box with any Python version 2.7 / 3.4-3.7.
安装:pip install pyinstaller
pypi地址:https://pypi.org/project/PyInstaller/
官网文档:https://pyinstall...