DHI / mikeio

Read, write and manipulate dfs0, dfs1, dfs2, dfs3, dfsu and mesh files.
https://dhi.github.io/mikeio
BSD 3-Clause "New" or "Revised" License
136 stars 53 forks source link

Colorbar placement #634

Open ecomodeller opened 5 months ago

ecomodeller commented 5 months ago

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

Userpython18 commented 5 months ago

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)