def build_and_fit(self, x, y, dy=None):
        x = np.asarray(x).ravel()
        y = np.asarray(y).ravel()
        if dy is not None:
            dy = np.asarray(dy).ravel()

        return self.fit(x, y, dy=dy,
                        constraints=self.constraints,
                        **self.options)
Method which builds the arguments to fit, and calls that method
dataset/ETHPy150Open glue-viz/glue/glue/core/fitters.py/BaseFitter1D.build_and_fit