From 651b687aa01d175f86271c6443b8b631fb96bc71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yvonne=20Fr=C3=B6hlich?= Date: Mon, 23 Nov 2026 23:22:46 +0100 Subject: [PATCH] Mention that also frame thickness and tick lengths are affected --- pygmt/src/colorbar.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pygmt/src/colorbar.py b/pygmt/src/colorbar.py index af972afad2b..cec3fc8498b 100644 --- a/pygmt/src/colorbar.py +++ b/pygmt/src/colorbar.py @@ -467,10 +467,11 @@ def colorbar( :math:`\sqrt{colorbar\_length / 15}`. To set a desired fontsize use the GMT default parameters :gmt-term:`FONT_ANNOT_PRIMARY`, :gmt-term:`FONT_ANNOT_SECONDARY`, and :gmt-term:`FONT_LABEL` (or jointly - :gmt-term:`FONT`). For GMT >=6.7.0, users can use ``no_font_scaling = True`` - to turn off the automatic fontsize scaling. For GMT 6.5.0 - 6.6.0, users - have to divide the desired fontsize by the value calculated with the formula - given above before passing it to the default parameters. + :gmt-term:`FONT`). For GMT 6.5.0 - 6.6.0, users have to divide the desired + fontsize by the value calculated with the formula given above before passing + it to the default parameters. For GMT >=6.7.0, users can use + ``no_font_scaling = True`` to turn off the automatic fontsize scaling; this + reverts also the changes regarding frame thickness and tick length. $projection $region