Using a Pandas dataframe index as values for x-axis in matplotlib plot December 6, 2023 by Tarik It seems the issue was that I had .values. Without it (i.e. site2.index) the graph displays correctly.