I have a problem with plotting this time series of the S&P500.
First I sorted the pandas DataFrame in ascending order by the date and then I used the Seaborn lineplot, which supposedly works fine with plotting time series. But in all examples I saw on the internet as well as in the documentation of seaborn this error did not occur. Here, as you can see, the y-axis is not consistent in that it is ascending as it goes up. I tried to fix/set the y-axis but then the plot vanished completely..
I am relatively new to plotting with seaborn and could't resolve the issue on my own. Maybe it is just a silly error I am doing but can anyone please help me setting the y axis right, I'd appreciate that! The y-Axis should start somewhere in the early 3000s and go up to 4000. How is that to be done?