Skip to content

Commit

Permalink
Fix import for headless
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHls committed Feb 29, 2024
1 parent 47509ae commit 4f964fe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sccala/interplib/epoch_interp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
)
from sccala.utillib.aux import convert_to_flux, convert_to_mag

matplotlib.use("TkAgg")
try:
matplotlib.use("TkAgg")
except ImportError:
pass


class EpochDataSet:
Expand Down

0 comments on commit 4f964fe

Please sign in to comment.