Skip to content

Commit

Permalink
add conditional to not import GUI code in readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigYanitski committed Oct 18, 2023
1 parent 344d158 commit f2299e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kosmatau3d/models/plotting/__init__.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
from pprint import pprint

import numpy as np
import os
from astropy.io import fits
import matplotlib.pyplot as plt
import matplotlib.colors as colors
from scipy.interpolate import interp2d

from .viewMap import *
if "READTHEDOCS" not in os.environ:
from .viewMap import *
from .diagram import *
from kosmatau3d.models import constants

Expand Down

0 comments on commit f2299e4

Please sign in to comment.