最近,研究活動(おもに実験)で得たデータを計算したり,可視化するのに使っているPython。可視化(グラフ作成)に使うMatplotlib(Seaborn)の使い方をすぐ忘れてしまうので,自分のために書き留めておこうと思う。 x = np.linspace(1,100,100) y = x**2 オブジェクト指向な ...
ごくたまに使いたくなるので、テーブルの使い方もメモしておきます。bboxを指定して、axesの中いっぱいに表示するスクリプトです。見た目を変えるためのスクリプトも後半に6行ほどいれてます。 table系の関数は、個人的には予想外の動作をすることが多く ...
I am writing to express my concern regarding the handling of legends for contour plots in recent versions of matplotlib. While line plots (plot) allow direct assignment of legend labels via the label ...