From 94f91580b62d6ee810cd7838330bc0a1302ee124 Mon Sep 17 00:00:00 2001 From: John Harwell Date: Mon, 2 Oct 2023 13:21:07 -0500 Subject: [PATCH] Hotfix for new seaborn colorblind style name --- sierra/core/config.py | 2 +- sierra/core/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sierra/core/config.py b/sierra/core/config.py index 9f760c0a..7b6d1956 100755 --- a/sierra/core/config.py +++ b/sierra/core/config.py @@ -45,7 +45,7 @@ def mpl_init(): import matplotlib.pyplot as plt # Set MPL style - plt.style.use('seaborn-colorblind') + plt.style.use('seaborn-v0_8-colorblind') # Actually initialize matplotlib diff --git a/sierra/core/utils.py b/sierra/core/utils.py index c2708bb0..156a200f 100755 --- a/sierra/core/utils.py +++ b/sierra/core/utils.py @@ -365,7 +365,7 @@ def df_fill(df: pd.DataFrame, policy: str) -> pd.DataFrame: @retry(OSError, tries=10, delay=0.100, backoff=1.1) # type:ignore -def pickle_dump(obj: object, f: tp.IO) -> None: +def pickle_dump(obj: object, f) -> None: pickle.dump(obj, f)