matplotlib.pyplot.subplots() 関数 は、Figure(matplotlib.figure.Figure クラスのインスタンス)と、Axes (matplotlib.axes.Axes クラスのインスタンス)、または Axes の配列を生成し、返り値として返します。 Figure はキャンバス、Axes はx軸、y軸 を持ち、その中にデータが ...
Axes.plot() はプロットした line2d のリストを返す。線が一本で中身だけ受け取りたいときは、変数にカンマ(,)をつければオーケー。 Axes.get_lines() で、Axes にそれまでにプロットされた line2d のリストが得られる。 見た目を一気に整えたい時にいいかも。
It is possible to set a logarithmic scale for one or both axes. This functionality is in fact only one application of a more general transformation system in Matplotlib. Each of the axes' scales are ...
Try googling "AxesSubplot" which is the type you get back from a plt.gca() call. Try finding this class in the docs. Try searching for this class in the source code. Poor new users trying to figure ...
Now that we've seen the basics, let's break it all down with a more formal introduction of Matplotlib's Object Oriented API. This means we will instantiate figure objects and then call methods or ...
The "over value" and the "under value" of colormap are not correctly shown when using ax.invert_yaxis (invert_xaxis if the colorbar is horizontal) function. The "over value" and the "under value" ...