Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognize DARTS_CONFIGURE_MATPLOTLIB=0 #924

Merged
merged 2 commits into from
Apr 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ Darts is still in an early development phase and we cannot always guarantee back

## [Unreleased](https://github.com/unit8co/darts/tree/master)
[Full Changelog](https://github.com/unit8co/darts/compare/0.19.0...master)
### For users of the library:

**Improved**
- Option to avoid global matplotlib configuration changes.
[#924](https://github.com/unit8co/darts/pull/924) by [Mike Richman](https://github.com/zgana).

## [0.19.0](https://github.com/unit8co/darts/tree/0.19.0) (2022-04-13)
### For users of the library:
Expand Down
5 changes: 4 additions & 1 deletion darts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
-----
"""

import os

import matplotlib as mpl
from matplotlib import cycler

Expand Down Expand Up @@ -37,4 +39,5 @@
}


mpl.rcParams.update(u8plots_mplstyle)
if os.getenv("DARTS_CONFIGURE_MATPLOTLIB", "1") != "0":
mpl.rcParams.update(u8plots_mplstyle)