We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 075067c + c7f314b commit fd51e05Copy full SHA for fd51e05
lib/matplotlib/axes/_base.py
@@ -197,7 +197,7 @@ def _process_plot_format(fmt):
197
i += 2
198
else:
199
raise ValueError(
200
- 'Unrecognized character %c in format string' % c)
+ f'Unrecognized character {c} in format string {fmt!r}')
201
202
if linestyle is None and marker is None:
203
linestyle = mpl.rcParams['lines.linestyle']
0 commit comments