最近,研究活動(おもに実験)で得たデータを計算したり,可視化するのに使っているPython。可視化(グラフ作成)に使うMatplotlib(Seaborn)の使い方をすぐ忘れてしまうので,自分のために書き留めておこうと思う。 x = np.linspace(1,100,100) y = x**2 オブジェクト指向な ...
ごくたまに使いたくなるので、テーブルの使い方もメモしておきます。bboxを指定して、axesの中いっぱいに表示するスクリプトです。見た目を変えるためのスクリプトも後半に6行ほどいれてます。 table系の関数は、個人的には予想外の動作をすることが多く ...
Bug summary When placing the y-label above the y-axis/spine, it gets clipped with constrained layout. It works OK with tight layout and on the left in constrained layout. Code for reproduction import ...
I'm making many plots in a loop using the same Figure and Axes. The basic setup including a twin Axes is done once and the Axes are cleared at the end of the loop using cla(). Axes.cla() resets the ...
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する