plt.grid(linestyle=option) # options are: '-' # regular line '--' # regular dashed line '-.' # dash and dot line ':' # dot dashes '' # nothing