Shrink colorbar length

This commit is contained in:
Yin Li 2020-05-04 11:32:48 -04:00
parent 69e9992545
commit 9b06b0f1a7

View File

@ -92,6 +92,7 @@ def fig3d(*fields, size=64, title=None, cmap=None, norm=None):
orientation='horizontal', orientation='horizontal',
fraction=cbar_frac, fraction=cbar_frac,
pad=0, pad=0,
shrink=0.9,
) )
# fig.set_constrained_layout_pads(w_pad=0, h_pad=0, wspace=0, hspace=0) # fig.set_constrained_layout_pads(w_pad=0, h_pad=0, wspace=0, hspace=0)