weights accepts any array-like
plot fits
fitlines -> fits