Skip to content

Commit

Permalink
Update the default plotting style
Browse files Browse the repository at this point in the history
  • Loading branch information
Alaettin Serhan Mete committed Oct 7, 2024
1 parent 86b4b13 commit 461e658
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/scripts/prmon_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
mpl.use("Agg")
import matplotlib.pyplot as plt

plt.style.use("seaborn-whitegrid")
if "seaborn-v0_8-whitegrid" in plt.style.available:
plt.style.use("seaborn-v0_8-whitegrid")
except ImportError:
print("ERROR:: This script needs numpy, pandas and matplotlib.")
print("ERROR:: Looks like at least one of these modules is missing.")
Expand Down

0 comments on commit 461e658

Please sign in to comment.