Skip to content

Add documentation about anchor code to the Technical Reference section #4027

Closed

Description

@seisman

Originally proposed in #2834:

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

  1. added
    documentation
    help wanted
    on Jul 29, 2025
  2. yvonnefroehlich commented on Jul 29, 2025

    @yvonnefroehlich
    Member

    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

  3. removed
    help wanted
    on Aug 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions