image_output_1.png
import matplotlib.pyplot as plt

import matplotlib.pyplot as plt
plt.scatter(X_train.iloc[:20], y_train.iloc[:20], color='Red')
plt.title('Training Data')
plt.xlabel('x')
plt.ylabel('y')
plt.show()