x = amostra.Idade y = amostra.Altura
ax = sns.scatterplot(x, y) ax.figure.set_size_inches(10, 6) ax.hlines(y = y.mean(), xmin = x.min(), xmax = x.max(), colors='black', linestyles='dashed') ax.vlines(x = x.mean(), ymin = y.min(), ymax = y.max(), colors='black', linestyles='dashed')
TypeError Traceback (most recent call last) in 2 y = amostra.Altura 3 ----> 4 ax = sns.scatterplot(x, y) 5 ax.figure.set_size_inches(10, 6) 6 ax.hlines(y = y.mean(), xmin = x.min(), xmax = x.max(), colors='black', linestyles='dashed')
TypeError: scatterplot() takes from 0 to 1 positional arguments but 2 were given