Thanks to visit codestin.com Credit goes to github.com
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.
1 parent a8977fd commit 74f8161Copy full SHA for 74f8161
1 file changed
lib/matplotlib/style/core.py
@@ -54,8 +54,8 @@ def _remove_blacklisted_style_params(d, warn=True):
54
if key in STYLE_BLACKLIST:
55
if warn:
56
_api.warn_external(
57
- "Style includes a parameter, '{0}', that is not related "
58
- "to style. Ignoring".format(key))
+ f"Style includes a parameter, {key!r}, that is not "
+ "related to style. Ignoring this parameter.")
59
else:
60
o[key] = d[key]
61
return o
0 commit comments