Skip to content

Commit 12bc42c

Browse files
DOC/colorbar: Improve note regarding no_font_scaling (#4994)
1 parent 869789e commit 12bc42c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎pygmt/src/colorbar.py‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,10 +467,11 @@ def colorbar(
467467
:math:`\sqrt{colorbar\_length / 15}`. To set a desired fontsize use the GMT
468468
default parameters :gmt-term:`FONT_ANNOT_PRIMARY`,
469469
:gmt-term:`FONT_ANNOT_SECONDARY`, and :gmt-term:`FONT_LABEL` (or jointly
470-
:gmt-term:`FONT`). For GMT >=6.7.0, users can use ``no_font_scaling = True``
471-
to turn off the automatic fontsize scaling. For GMT 6.5.0 - 6.6.0, users
472-
have to divide the desired fontsize by the value calculated with the formula
473-
given above before passing it to the default parameters.
470+
:gmt-term:`FONT`). For GMT 6.5.0 - 6.6.0, users have to divide the desired
471+
fontsize by the value calculated with the formula given above before passing
472+
it to the default parameters. For GMT >=6.7.0, users can use
473+
``no_font_scaling = True`` to turn off the automatic fontsize scaling; this
474+
reverts also the changes regarding frame thickness and tick length.
474475
475476
$projection
476477
$region

0 commit comments

Comments
 (0)