Open ecomodeller opened 5 months ago
In most cases the colorbar is placed next to the plot ✅
But in some cases there is a lot of whitespace in between the plot and the colorbar 🤔
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)
In most cases the colorbar is placed next to the plot ✅![image](https://github.com/DHI/mikeio/assets/614215/d93b6020-8c65-4868-aa7a-ddc101d06648)
But in some cases there is a lot of whitespace in between the plot and the colorbar 🤔![image](https://github.com/DHI/mikeio/assets/614215/f705edc1-95dd-41ea-b0aa-9ae1c3f30910)