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 55f4e2a commit e92a8cfCopy full SHA for e92a8cf
lib/matplotlib/style/core.py
@@ -153,7 +153,7 @@ def use(style):
153
path = (importlib_resources.files(pkg)
154
/ f"{name}.{STYLE_EXTENSION}")
155
style = _rc_params_in_file(path)
156
- except (ModuleNotFoundError, OSError) as exc:
+ except (ModuleNotFoundError, OSError, TypeError) as exc:
157
# There is an ambiguity whether a dotted name refers to a
158
# package.style_name or to a dotted file path. Currently,
159
# we silently try the first form and then the second one;
0 commit comments