Skip to content

Commit 5e2c01a

Browse files
committed
(BUGFIX) keeping flake happy
1 parent b22409c commit 5e2c01a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

LoopStructural/visualisation/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
except ImportError:
2222
logger.warning('Cannot use MapView or RotationAnglePlotter as matplotlib is not installed. \n'\
2323
'Install matplotlib and try again. ')
24-
try:
25-
from .model_visualisation import LavaVuModelViewer
26-
from .sphinx_scraper import _get_loop_visualisation_scraper
24+
try:
25+
from .sphinx_scraper import _get_loop_visualisation_scraper
26+
except:
27+
logger.error('Cannot use sphinx scraper, pip install -r docs/requirements.txt')

0 commit comments

Comments
 (0)