Skip to content

Commit 62a4f15

Browse files
committed
check for IPython availability
1 parent ac316e1 commit 62a4f15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyenzyme/plotting/interactive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def _is_notebook() -> bool:
150150
from IPython.core.getipython import get_ipython
151151

152152
return get_ipython() is not None
153-
except NameError:
153+
except ModuleNotFoundError:
154154
return False
155155

156156

0 commit comments

Comments
 (0)