:py:mod:`pemtk.util.env` ======================== .. py:module:: pemtk.util.env .. autoapi-nested-parse:: Env util routines for PEMtk Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: pemtk.util.env.isnotebook .. py:function:: isnotebook() Check if code is running in Jupyter Notebook. Taken verbatim from https://exceptionshub.com/how-can-i-check-if-code-is-executed-in-the-ipython-notebook.html Might be a better/more robust way to do this?