Merge pull request #721 from mkborregaard/fix-pyplot-grid

set dotted grid lines for pyplot
This commit is contained in:
Tom Breloff 2017-03-13 09:54:43 -04:00 committed by GitHub
commit 2317b77314

View File

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