DHI/mikeio

Colorbar placement

ecomodeller opened this issue · 1 comments

In most cases the colorbar is placed next to the plot ✅
image

But in some cases there is a lot of whitespace in between the plot and the colorbar 🤔
image

You can use this line of code and play around with the pad values to adjust the spacing
cax = divider.new_horizontal(pad=0.2)