Open cosama opened 3 years ago
Ah, I see, it's the 0:.3f
formatting that breaks it. I guess a full if
would be more complete:
if self.roi:
s += 'ROI: [{0:.3f}, {1:.3f}]\n'.format(*self.roi)
else:
s += 'ROI: None\n'
Edit: even then, if self.roi = (None, None)
, this doesn't work.
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.