最近,研究活動(おもに実験)で得たデータを計算したり,可視化するのに使っているPython。可視化(グラフ作成)に使うMatplotlib(Seaborn)の使い方をすぐ忘れてしまうので,自分のために書き留めておこうと思う。 x = np.linspace(1,100,100) y = x**2 一番簡単なプロット ...
Easily label line(s) using matplotlib. The code is heavily based on http://stackoverflow.com/questions/16992038/inline-labels-in-matplotlib (original code from ...
Matplotlibのオブジェクト指向インターフェース(Axesオブジェクト)を使用して、グラフのタイトル、軸ラベル、表示範囲(リミット)、グリッド線、凡例といった基本的な構成要素を設定する方法を整理しました。データの可視化において、これらの情報は ...
`.Figure.align_ylabels`, and `.Figure.align_titles`. `.Figure.align_labels` wraps the x and y label functions. We align the xlabels and ylabels using short calls to `.Figure.align_xlabels` and ...