(self)
return True if "nbAgg" == mpl.get_backend() else False
Detects if Jupyter notebook GUI toolkit is active

        return: True if the module is running inside a Jupyter notebook
        rtype: bool
Detects if Jupyter notebook GUI toolkit is active
Detects if Jupyter notebook GUI toolkit is active
def is_notebook(self):
        """ Detects if Jupyter notebook GUI toolkit is active

        return: True if the module is running inside a Jupyter notebook
        rtype: bool
        """
        return True if "nbAgg" == mpl.get_backend() else False
def is_notebook ( self ) : return True if "nbAgg" == mpl . get_backend ( ) else False