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

Skip to content

Commit 0925731

Browse files
jklymakMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #15296: Fix typo/bug from 18cecf7
1 parent 934ba3a commit 0925731

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