set dotted grid lines for pyplot

This commit is contained in:
Michael K. Borregaard 2017-03-07 08:04:15 +01:00
parent 124f1fe701
commit 7a0e03b374

View File

@ -1059,7 +1059,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
end
if sp[:grid]
fgcolor = py_color(sp[:foreground_color_grid])
pyaxis[:grid](true, color = fgcolor)
pyaxis[:grid](true, color = fgcolor, linestyle = ":")
ax[:set_axisbelow](true)
end
py_set_axis_colors(ax, axis)