diff --git a/labproject/plotting.py b/labproject/plotting.py index eb22574..5f09d60 100644 --- a/labproject/plotting.py +++ b/labproject/plotting.py @@ -2,7 +2,8 @@ import os # Load matplotlibrc file -plt.style.use("../matplotlibrc") +STYLE_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), "matplotlibrc")) # Necessary for GitHub Actions +plt.style.use(STYLE_PATH) PLOT_PATH = "../plots/"