scipy.stats.FitError# exception scipy.stats.FitError(msg=None)[source]# Represents an error condition when fitting a distribution to data. add_note(note, /)# Add a note to the exception with_traceback(tb, /)# Set self.__traceback__ to tb and return self.