最近,研究活動(おもに実験)で得たデータを計算したり,可視化するのに使っているPython。可視化(グラフ作成)に使うMatplotlib(Seaborn)の使い方をすぐ忘れてしまうので,自分のために書き留めておこうと思う。 x = np.linspace(1,100,100) y = x**2 オブジェクト指向な ...
筆者が普段業務で使っている言語はjavaなので、Pythonのpandasやmatplotlibとあまり仲が良くありません。そこで今回は外部からdataframe形式でデータを受け取り、そのデータをmatplotlibの入力形式に合うように加工してPythonのライブラリに慣れてみたいと思います。
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 ...
I have attempted to change the color of the plot title and ylabel every way I can possibly imagine, with no luck. As soon as I change the backend to GTK for instance, the color changes as expected.