Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions pygmt/src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ class config: # noqa: N801

Full GMT defaults list at :gmt-docs:`gmt.conf.html`.

.. note::

For GMT defaults to adjust the figure appearance, e.g., the font size,
:class:`pygmt.config` needs to be called **after** setting up the

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just say "it's recommended to call pygmt.config after ..."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel the wording "global" and "local" are a little misleading. Perhaps we should call them "permanent" and "temporary" instead, similar to the wording we use for Figure.shift_origin.

We also need to document https://docs.generic-mapping-tools.org/dev/reference/features.html#gmt-modern-mode-hierarchical-levels, but it could be done in a separate PR.

:class:`pygmt.Figure` instance to have an effect. This is relevant for
both, global and local changes. For details see the
`GitHub issue comment <https://github.com/GenericMappingTools/pygmt/issues/733#issuecomment-744698150>`__.

.. note::

:gmt-term:`PS_CONVERT` is not supported.
Expand Down