Python3をWindows7にインストール。
wxpythonでWindows GUIをPythonで作成する。
Python3 ダウンロード
Windows x86-64 executable installerをダウンロードしてダブルクリック
pip
ダウンロード
①解凍
②コマンドプロンプトを起動
③get-pip-masterフォルダに移動
④get-pipをインストール
$ python get-pip.py
wxpython, Matplotlib, numpy
インストール
pipでインストールする
pip install
$ pip install numpy
$ pip install matplotlib
$ pip install wxpython
動作確認
①サンプルのサイトに掲載されているソースをmain.pyとして保存。
②main.pyをダブルクリック。
サンプルの引用元
https://stackoverflow.com/questions/10737459/embedding-a-matplotlib-figure-inside-a-wxpython-panel