def fit(self, x, y, dy, constraints, degree=2):
        w = self._sigma_to_weights(dy)

        return np.polyfit(x, y, degree, w=w)
Resolves any template references in the given value.
dataset/ETHPy150Open glue-viz/glue/glue/core/fitters.py/PolynomialFitter.fit--crossover with--dataset/ETHPy150Open willhardy/django-seo/rollyourown/seo/backends.py/_resolve