How set grid line properties like solid lines for regular plot? (default is DASHED)

How set grid line properties like solid lines for

    > regular plot?

You can set the defaults in your rc file with the foloowing properties

  grid.color : black # grid color
  grid.linestyle : : # dotted
  grid.linewidth : 0.5 # in points

or you can set the properties in a script by getting a list of the x
and y grid lines

  glines = ax.get_xgridlines() + ax.get_ygridlines()
  setp(glines, linestyle='-', color=0.5, linewidth=1)

JDH