Skip to content

Commit

Permalink
Load style file more stably
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelgloeckler committed Feb 4, 2024
1 parent 25af200 commit c652b62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion labproject/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

Expand Down

0 comments on commit c652b62

Please sign in to comment.