def inspect(self, **kwargs):
        """
        Plot the SCF cycle results with matplotlib.

        Returns
            `matplotlib` figure, None if some error occurred.
        """
        try:
            scf_cycle = abiinspect.GroundStateScfCycle.from_file(self.output_file.path)
        except IOError:
            return None

        if scf_cycle is not None:
            if "title" not in kwargs: kwargs["title"] = str(self)
            return scf_cycle.plot(**kwargs)

        return None
def inspect ( self , ** kwargs ) : try : scf_cycle = abiinspect . GroundStateScfCycle . from_file ( self . output_file . path ) except IOError : return None if scf_cycle is not None : if "title" not in kwargs : kwargs [ "title" ] = str ( self ) return scf_cycle . plot ( ** kwargs ) return None
Plot the SCF cycle results with matplotlib.

        Returns
            `matplotlib` figure, None if some error occurred.