finesse.environment.is_interactive

finesse.environment.is_interactive()[source]

Check if Finesse is being run from an interactive environment.

Returns

bool

True if a Jupyter notebook, Qt console or IPython shell is in use, False otherwise.