Relative Content

Tag Archive for pythonpandasmatplotlibdatetimeseaborn

Changing x axis datetime limits in Seaborn barplot

I am trying to make a barplot in Seaborn, but I am struggling to set the x axis limits. I have data for a set range, but I want to set the x axis limits to a larger range than that! When I try to set the x axis limits, the entire plot disappears! Here is a small reproducible example. Creating a dataframe: