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

Change cbar_short_side_pad to cbar_length #13

Open
spencerkclark opened this issue Jan 6, 2018 · 0 comments
Open

Change cbar_short_side_pad to cbar_length #13

spencerkclark opened this issue Jan 6, 2018 · 0 comments

Comments

@spencerkclark
Copy link
Owner

cbar_short_side_pad is a mouthful of an argument name; it is also somewhat of an odd measure (denoting the distance between the ends of the colorbar and the edges of the plot area or figure area depending on the cbar_mode). In an offline conversation with @nathanieltarshish, it was determined that it may make more sense (when paired with cbar_thickness) to allow the user to specify the length of the colorbar.

It would also be nice if one could specify this measure in either absolute or relative space. For the colorbar thickness (there called cbar_size), this is enabled in AxesGrid by allowing the user to specify either a float (for specifying a measure in absolute space) or string of the form '5%' (for specifying a measure in relative space). We could adopt a similar convention here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant