最近,研究活動(おもに実験)で得たデータを計算したり,可視化するのに使っているPython。可視化(グラフ作成)に使うMatplotlib(Seaborn)の使い方をすぐ忘れてしまうので,自分のために書き留めておこうと思う。 x = np.linspace(1,100,100) y = x**2 一番簡単なプロット ...
python でグラフを作成するとき、日本語を利用する方法のメモ書きです。 matplotlib、 seabornを使ってグラフを作成すると日本語が文字化けし表示できないときは、 matplotlibが使用するフォントを変更 すればよい。 一番簡単な方法 japanize_matplotlib を、import する ...
DrawMolToMPL generates a drawing of rdkit.Chem.rdchem.Mol objects by matplotlib line graphics, and thus it can be saved as a vector image. I had a problem when I tried to output RDKit molecular ...
I've been plotting timeseries data using the matplotlib.dates module and have come across an issue when using it in conjunction with the subplot command. For figures with greater than one subplot in a ...