Skip to content

Tag: python

Change order of numbers in x tick labels matplotlib

I have averaged a year’s worth of hourly data to one day. As such I have an array representing the hour of day, and another with the data. I want to plot this, however I want to plot it from 12pm to 11am, rather than from midnight to midnight. Matplotlib doesn’t seem to let me change the x axis to