plt.figure(dpi=120) plt.scatter(X[:,0],y) plt.plot(np.arange(-2.5,20,0.01), huber_y1, color='red',linestyle='--') plt.show()