You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
becquerel/core/fitting.py in custom_plot(self, title, savefname, title_fontsize, title_fontweight, residual_type, **kwargs)
913 param_name, v, e, np.abs(e / v))
914 # Add info about the ROI and units
--> 915 s += 'ROI: [{0:.3f}, {1:.3f}]\n'.format(*self.roi)
916 s += 'X units: {:s}\n'.format(self.xmode if self.xmode else 'None')
917 s += 'Y units: {:s}\n'.format(self.ymode if self.ymode else 'None')
TypeError: format() argument after * must be an iterable, not NoneType
if I don't provide the roi kwarg to Fitter.__init__. Temporary fix is to use roi=[0, np.inf]. Seems like by adding ROI to the custom_plot output we require this to be populated.
The text was updated successfully, but these errors were encountered:
I currently get this error:
if I don't provide the
roi
kwarg toFitter.__init__
. Temporary fix is to useroi=[0, np.inf]
. Seems like by adding ROI to the custom_plot output we require this to be populated.The text was updated successfully, but these errors were encountered: