Skip to content

Commit 9461967

Browse files
authored
Merge pull request #15299 from meeseeksmachine/auto-backport-of-pr-15296-on-v3.2.x
Backport PR #15296 on branch v3.2.x (Fix typo/bug from 18cecf7)
2 parents 535e570 + 8b3562b commit 9461967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/rcsetup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def validate_fontweight(s):
411411
try:
412412
return int(s)
413413
except (ValueError, TypeError):
414-
raise ValueError(f'{s} is not a valid font weight. %s')
414+
raise ValueError(f'{s} is not a valid font weight.')
415415

416416

417417
def validate_font_properties(s):

0 commit comments

Comments
 (0)