-
Notifications
You must be signed in to change notification settings - Fork 224
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
Figure.colorbar: Add aliases for L and Z #2357
Conversation
I am wondering whether it would be nice to update one or both of these two examples to use |
I think adding |
Hm. I was refering to this change of the colorbar via L or
But it's only a detail, and I am also fine with leaving these examples as is 🙂. Another possibility to show this option could be the example Colorbar? |
From the context side it does not make any difference to use |
Yes, sure, this is only an option how to display a colormap for categorical data 🙂. |
Description of proposed changes
This PR aims to add aliases for
pygmt.Figure.colorbar
:equalsize
(no hypen)zfile
At the moment the aliases are orientated on the Julia documentation at https://www.generic-mapping-tools.org/GMTjl_doc/documentation/modules/colorbar/.
Reminders
make format
andmake check
to make sure the code follows the style guide.doc/api/index.rst
.Slash Commands
You can write slash commands (
/command
) in the first line of a comment to performspecific operations. Supported slash commands are:
/format
: automatically format and lint the code/test-gmt-dev
: run full tests on the latest GMT development version