Skip to content

Commit 4fb90e1

Browse files
authored
Merge pull request #15298 from meeseeksmachine/auto-backport-of-pr-15296-on-v3.1.x
Backport PR #15296 on branch v3.1.x (Fix typo/bug from 18cecf7)
2 parents 934ba3a + 0925731 commit 4fb90e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/rcsetup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def validate_fontweight(s):
471471
try:
472472
return int(s)
473473
except (ValueError, TypeError):
474-
raise ValueError(f'{s} is not a valid font weight. %s')
474+
raise ValueError(f'{s} is not a valid font weight.')
475475

476476

477477
def validate_font_properties(s):

0 commit comments

Comments
 (0)