Pandas: How to display minor grid lines on x-axis in pd.DataFrame.plot()

Viewed 40704

Is there a way to control grid format when doing pandas.DataFrame.plot()?

Specifically i would like to show the minor gridlines for plotting a DataFrame with a x-axis which has a DateTimeIndex.

Is this possible through the DataFrame.plot()?

df = pd.DataFrame.from_csv(csv_file, parse_dates=True, sep=' ')
3 Answers
Related