plt.title('TESLA Prices Prediction') plt.xlabel('Date') plt.ylabel('Prices') plt.xticks(np.arange(881,1259,50), df.Date[881:1259:50]) plt.legend() plt.show()