Skip to content

Commit 93d8026

Browse files
committed
Fix typo/bug from 18cecf7
1 parent a93baa1 commit 93d8026

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)