pandas.DataFrame.plot is a convenient way to print data from data frames. However, I do not understand how to format the axes using this method. For instance,
import pandas as pd import datetime df = pd.DataFrame(index = [datetime.datetime(2016, 7, 2, 0, 0), datetime.datetime(2016, 8, 6, 0, 0), datetime.datetime(2016, 9, 13, 0, 0), datetime.datetime(2016, 10, 26, 0, 0), datetime.datetime(2016, 11, 2, 0, 0)], data = {'total' : [5, 3, 1, 0, 2]}) df
Output
total 2016-07-02 5 2016-08-06 3 2016-09-13 1 2016-10-26 0 2016-11-02 2
Now let's plot using the pandas construction method:
df.plot(kind='bar')

I would prefer that the x axis have labels in the form of a three-letter month format - July August September October November.
Is this possible using the pandas build method or do I need to build a chart using matplotlib?