TadaoYamaokaの開発日記

個人開発しているスマホアプリや将棋AIの開発ネタを中心に書いていきます。

Jupyter QtConsoleのTips

ほぼ自分用のメモ。

OSのコマンド実行

先頭に「!」を付ける。
例)

!dir

参考:IPython reference — IPython 8.1.0 documentation

グラフをインラインで表示
%matplotlib inline

参考:IPython reference — IPython 8.1.0 documentation

グラフを別ウィンドウで表示
%matplotlib

グラフをpngや、svgなどフォーマットを選んで保存できる。

随時追記予定