python でグラフを作成するとき、日本語を利用する方法のメモ書きです。 matplotlib、 seabornを使ってグラフを作成すると日本語が文字化けし表示できないときは、 matplotlibが使用するフォントを変更 すればよい。 一番簡単な方法 japanize_matplotlib を、import する ...
To get repeatable and reproducible results when running Python code in Rmarkdown there is nothing better than creating a Python environment. There are several ways of running Python code. In this ...
*Last update: `r system("git log -1 --format=\"%ad (%h)\" -- 03-python_and_r.Rmd", intern = TRUE)`* One of the advantages of running R and Python code chunks in the ...
Matplotlibでグラフを作成する際、データの値を色で表現したい場合があります。そんな時に役立つのが colormap です。colormapは、数値と色を対応づけるもので、データの分布や変化を視覚的に表現するのに非常に役立ちます。今回は3D表示にさまざまなcolormapを ...