8000 Backport PR #15296: Fix typo/bug from 18cecf7 · meeseeksmachine/matplotlib@8b3562b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8b3562b

Browse files
jklymakMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR matplotlib#15296: Fix typo/bug from 18cecf7
1 parent 01e32d0 commit 8b3562b

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
@@ -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)
0