From a762ae63136727e6d14793281a44a69a47ffe604 Mon Sep 17 00:00:00 2001 From: Steffen Rehberg Date: Fri, 13 Jan 2023 15:33:25 +0100 Subject: [PATCH] MNT: Fix double % signs in matplotlibrc Percent signs needed to be escaped as %% in the past when using '%' formatting to generate default matplotlibrc file. The 4 remaining double percent signs were overlooked in 5206cb011. --- lib/matplotlib/mpl-data/matplotlibrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/matplotlib/mpl-data/matplotlibrc b/lib/matplotlib/mpl-data/matplotlibrc index 28dad0f392a5..26c78658f4e0 100644 --- a/lib/matplotlib/mpl-data/matplotlibrc +++ b/lib/matplotlib/mpl-data/matplotlibrc @@ -237,7 +237,7 @@ ## ## The font.variant property has two values: normal or small-caps. For ## TrueType fonts, which are scalable fonts, small-caps is equivalent -## to using a font size of 'smaller', or about 83%% of the current font +## to using a font size of 'smaller', or about 83 % of the current font ## size. ## ## The font.weight property has effectively 13 values: normal, bold, @@ -445,9 +445,9 @@ ## These control the default format strings used in AutoDateFormatter. ## Any valid format datetime format string can be used (see the python ## `datetime` for details). For example, by using: -## - '%%x' will use the locale date representation -## - '%%X' will use the locale time representation -## - '%%c' will use the full locale datetime representation +## - '%x' will use the locale date representation +## - '%X' will use the locale time representation +## - '%c' will use the full locale datetime representation ## These values map to the scales: ## {'year': 365, 'month': 30, 'day': 1, 'hour': 1/24, 'minute': 1 / (24 * 60)}