diff --git a/pyvistaqt/plotting.py b/pyvistaqt/plotting.py index 50cc89ef..c661f2ee 100644 --- a/pyvistaqt/plotting.py +++ b/pyvistaqt/plotting.py @@ -528,7 +528,7 @@ def __init__( kwargs.pop("notebook", None) # ipython magic - if scooby.in_ipython(): # pragma: no cover + if scooby.in_ipython(): from IPython import get_ipython ipython = get_ipython()