Skip to content

Commit

Permalink
fixup! ENH: revive and update yt.funcs.matplotlib_style_context conte…
Browse files Browse the repository at this point in the history
…xt manager
  • Loading branch information
neutrinoceros committed Feb 18, 2023
1 parent eb59ca4 commit eefc839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ def matplotlib_style_context(style=None, after_reset=False):
if MPL_VERSION >= Version("3.7"):
style = "yt.default"
else:
style = importlib_resources.files("yt") / "classic.mplstyle"
style = importlib_resources.files("yt") / "default.mplstyle"

return matplotlib.style.context(style, after_reset=after_reset)

Expand Down

0 comments on commit eefc839

Please sign in to comment.