Repository navigation
DOC/Figure.histogram: Improve docstrings for parameters "fill" and "camp" - #4990
Merged
Merged
Conversation
13 of 38 tasks
seisman
reviewed
Nov 23, 2026
| $cmap | ||
| .. note:: | ||
| Directly using the master CPTs provided by GMT is not supported yet. Use | ||
| :func:`Figure.makecpt` to create an appropriate CPT file first and pass |
Member
There was a problem hiding this comment.
the hidden cpt works , so calling makecpt or makecpt is necessary, but it can be a hidden cpt or saved to a file
Member
Author
There was a problem hiding this comment.
I improved the formulation in commit 96308b4 to better clearify the two options.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of proposed changes
This PR aims to improve the docstrings for the
fillandcmapparameter ofFigure.histogram.Partly related to #4988 (comment) with issue report GMT at GenericMappingTools/gmt#9314
Patches #4886
Preview: https://pygmt-dev--4990.org.readthedocs.build/en/4990/api/generated/pygmt.Figure.histogram.html
Guidelines
Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash command is:
/format: automatically format and lint the code