How can I make an estimated line like that using matplotlib.

I have several points and I plotted them using matplotlib using the following code:
import matplotlib.pyplot as plt
for smp, lbl in zip(samples, labels):
plt.scatter(smp[0], smp[1], marker='*', cl = 'b', s=100, label=lbl)
# set limit, xlabel, ylabel, legend ...
# ...
plt.show()
Thanks,

x = [value[0] for value in samples]y = [value[1] for value in samples]