seems to generally work, except when column is used...
If we can't manage to make it work by passing an argument or defining the cax in advance, the other solution would be to re-create the colorbar after the plotting. But then we'd need to extract the vmin/vmax, other legend_kwds associated to colorbars (like we already do a bit), and it could rapidly become complex.
I also tried passing a {"pad": "2%"} value to the
legend_kwgs
that are apparently passed tocolorbar
, without success... The padding created by:seems to generally work, except when
column
is used...If we can't manage to make it work by passing an argument or defining the
cax
in advance, the other solution would be to re-create the colorbar after the plotting. But then we'd need to extract the vmin/vmax, otherlegend_kwds
associated to colorbars (like we already do a bit), and it could rapidly become complex.