Documentation

Pyplot

class - matplotlib.pyplot

Functions

関数名 説明
figure グラフオブジェクトを作成する
show グラフを表示する

Figure

class - matplotlib.figure.Figure

関数名 説明
add_subplot 軸オブジェクトを追加する

Axes

class - matplotlib.axes.Axes

関数名 説明
bar 棒グラフを作成する
barh x軸方向の棒グラフを作成する
plot 折れ線グラフを作成する
fill_between グラフの差分に色を塗る
fill_betweenx グラフのx軸方向の差分に色を塗る
set_xlim x軸の範囲を指定する
set_ylim y軸の範囲を指定する
set_xlabel x軸のタイトルを設定する
set_ylabel y軸のタイトルを設定する
set_title グラフのタイトルを設定する
legend グラフに凡例を付ける
get_legend_handles_labels 凡例用のデータとラベルを取得する
twinx x軸の第二軸を作成する
twiny y軸の第二軸を作成する

色のバリエーション

逆引き辞書