Lighting_Up:

plt.plot(X_test[:,0],Y_test,label="True")


and



 Lighting_Up:

plt.plot(X_test[:,0],Y_pred,label="Predicted")


These lines might throw error because indexing will fail on X_test.
Also, plt.plot()can handle only 2D values afaik but Y_pred is of shape (300, 1, 1).
I’d suggest you to handle these issues by reshaping them appropriately and then checking whether the plot looks reasonable.