I'm looking for a way where I can only plot a specific part of my time series. I have an prediction model via the FB Prophet feature. Please also see the plot below and code below. Any ideas how I could only plot dates between 2019 and 2021?
# plotting of predictions with actual values from 30-09-2020 until 30-10-2020; Combine Prediction and actual values
m_data_DJI_recent.plot(prediction_2)
plt.plot(df_DJI, color = "red")
plt.title("Prediction using the Prophet")
plt.xlabel("Date")
plt.ylabel("Price")
plt.show()