Skip to content

Commit 9b41113

Browse files
authored
Merge pull request matplotlib#15296 from timhoffm/fix-typo
Fix typo/bug from 18cecf7
2 parents a93baa1 + 93d8026 commit 9b41113

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)