Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colorbar placement #634

Open
ecomodeller opened this issue Jan 17, 2024 · 1 comment
Open

Colorbar placement #634

ecomodeller opened this issue Jan 17, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@ecomodeller
Copy link
Member

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

@ecomodeller ecomodeller added the help wanted Extra attention is needed label Jan 17, 2024
@Userpython18
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants