| orientation | vertical/horizontal | カラーバーを鉛直/水平に配置する。 |
|---|---|---|
| fraction | カラーバーの幅/高さ。 | |
| pad | 親の図とカラーバーとの間の余白。 | |
| shrink | fraction by which to shrink the colorbar | |
| aspect | ratio of long to short dimensions | |
| anchor | the anchor point of the colorbar axes | |
| panchor | the anchor point of the colorbar parent axes. If False, the parent axes’ anchor will be unchanged |
目盛りラベルを指数表示にして仮数部のみを表示する。matplotlib.axes.Axes.ticklabel_formatを参照。
# 10^-6以下、10^6以上の場合に仮数部のみの表示にする cbar.ax.ticklabel_format(style='sci', scilimits=(-6,6))

最新コメント