Merge 7f0c4747b4fa3e7c742a9ab396528051261f2e15 into a1b991aaeb0883ca9e706ce4e77f42c2fdf37145

This commit is contained in:
Patrick Kofod Mogensen 2016-05-10 11:56:37 +00:00
commit 88f7654582

View File

@ -2,6 +2,7 @@
supportedArgs(::PGFPlotsBackend) = [
# :annotation,
:aspect_ratio,
# :axis,
:background_color,
# :color_palette,
@ -319,11 +320,14 @@ function _pgfplots_get_axis_kwargs(d)
axisargs[:ymax] = d[:ylims][2]
end
if d[:grid] == true
axisargs[:style] *= "grid = major"
axisargs[:style] *= "grid = major,"
elseif d[:grid] == false
end
if d[:aspect_ratio] == :equal
axisargs[:axisEqual] = "true"
end
axisargs
end