phenotypic.tools_.panel_.in_jupyter#
- phenotypic.tools_.panel_.in_jupyter() bool[source]
Detect whether code is running inside a Jupyter notebook.
This is stricter than
in_ipython()— it returnsTrueonly for notebook kernels (ZMQInteractiveShell), not plain IPython terminals.- Returns:
Truewhen running in a Jupyter notebook kernel.- Return type: