FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Backport PR #15296: Fix typo/bug from 18cecf7 · matplotlib/matplotlib@0925731 · GitHub

Commit 0925731

Browse files
authored andcommitted
Backport PR #15296: Fix typo/bug from 18cecf7
1 parent 934ba3a commit 0925731

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Back | FazBrowse Home | New Git URL