前回、Jupyterノートブック上で、CSVファイルを読み込み、棒グラフを描画する方法を紹介した。今回は、CSVファイルの任意のデータを取り出したり、さらに、いろいろなグラフを描画する方法を紹介する。 人口の増減を確認しよう 前回より、Pandasという ...
I find the default inline plotting DPI (72) of figures in Jupyter too small and would like to plot inline figures at 100 by default. However, the (i) import of pyplot and (ii) use of %matplotlib ...
ノートブック上にグラフを描画する際に指定する記述 matplotlibを使う際は、初めにmatplotlibライブラリをインポートするが、 「% matplotlib inline」を書くと、ノートブック上にグラフを描画することができる。
When using a (Timed)Animation inside a %matplotlib notebook cell after a %matplotlib inline cell, the first call to that cell fails with AttributeError: 'NoneType ...
That line is only for jupyter notebooks, if you are using another editor, you'll use: plt.show() at the end of all your plotting commands to have the figure pop up in another window. There are two ...