-
Notifications
You must be signed in to change notification settings - Fork 235
Figure.colorbar: Add position/length/width and more parameters to specify colorbar positiona and properties #4048
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel it would be good to add an alias for -S,
-S[+aangle][+c|n][+r][+s][+xlabel][+yunit]
as I realized that this flags allows to set x and y labels in case frame (-B) cannot be used, e.g., if equalsize (-L) is used.
I am wondering if adding an alias, e.g., appearance, using the old alias system still makes sense or if we should do this directly using the new alias system to introduce aliases for the single modifieres.
d846477 to
a352945
Compare
0607414 to
c892202
Compare
…cify colorbar position and properties
c892202 to
8bdb98e
Compare
GMT long-form names:
https://github.com/GenericMappingTools/gmt/blob/0b754730b7b062d12e8142e9ea032d556f3bf58f/src/longopt/psscale_inc.h#L29-L31
Preview: https://pygmt-dev--4048.org.readthedocs.build/en/4048/api/generated/pygmt.Figure.colorbar.html#pygmt.Figure.colorbar