matplotlib.axes.Axes.barh
Axes.fill_between(self, x, y1, y2=0, where=None, interpolate=False, step=None, *, data=None, **kwargs)[source]
グラフの間の領域に色を付ける
y1 と y2 のグラフの間の領域に色を付けることができます。デフォルトでは y2=0 なので、y2 に引数を指定しなければ x 軸と y1 の間の領域に色が付きます。
y1
y2
y2=0