You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add documentation about anchor code to the Technical Reference section #4027
Justification codes like BL and TR are commonly used in GMT and PyGMT. Currently, we have explanations like:
The justification is a two-character code that is a combination of a horizontal (L\ (eft), C\ (enter), or R\ (ight)) and a vertical (T\ (op), M\ (iddle), or B\ (ottom)) code.
Instead of repeatedly explaining justification codes in different plotting methods, I feel it makes more sense to have a separate page explaining justification codes then we can link to this page when necessary.
Activity
yvonnefroehlich commentedon Jul 29, 2025
I agree, it would be good to have this bundled at one place and link to such a Technical Reference page. This can also avoid maintenance work, keeping things consistent in both docstrings and gallery examples and tutorials. However, it can be a bit difficult to split this form some already existing examples or tutorials, e.g., https://www.pygmt.org/dev/tutorials/basics/text.html#adjusting-the-text-label and https://www.pygmt.org/dev/tutorials/basics/text.html#using-the-position-parameter