-
Notifications
You must be signed in to change notification settings - Fork 218
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.text: Improve the documentation to clarify the order of columns in the input files #2832
Conversation
…s in the input files
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
* *y*: Y coordinate or latitude | ||
* *angle*: Angle in degrees counter-clockwise from horizontal | ||
* *font*: Text size, font, and color | ||
* *justify*: Two-character justification code |
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.
Here we write currently two-character justification code
. But we write
- below for the
justify
parametertwo-letter combination
- in the colorbar example
2-character combination
- in the text tutorial
two-letter (order independent) code
- etc.
I think it would be nice to formulate this consistently. This is a bit related to issue #2834. I will try to find time to look at this in more detail; currently busy with other things.
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.
Yes, we can simplify these descriptions if issue #2834 is addressed.
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.
Then maybe we leave these formulations as they are for now, and make it consistent via addressing #2834 🙂.
Preview: https://pygmt-dev--2832.org.readthedocs.build/en/2832/api/generated/pygmt.Figure.text.html#pygmt.Figure.text
Address #479 (comment)
Closes #479.