Try using ax.grid(True, which='both') to place grid lines on primary and secondary ticks, as suggested here .
EDIT: or just set your checkboxes manually, for example:
import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(111) ax.plot([1,2,3,14],'ro-')
ev-br May 04 '12 at 18:00 2012-05-04 18:00
source share