put values in correct spot

This commit is contained in:
Fredrik Ekre 2016-09-05 11:29:46 +02:00
parent 03a228fbe7
commit c3511005c7

View File

@ -264,13 +264,13 @@ function _update_plot_object(plt::Plot{PGFPlotsBackend})
push!(style, """
xshift = $(left(bb).value)mm,
yshift = $((height(bb) - (bottom(bb))).value)mm,
width = $(width(bb).value)mm,
height = $(height(bb).value)mm,
axis background/.style={fill=$(pgf_color(sp[:background_color_inside])[1])}
""")
kw[:width] = "$(width(bb).value)mm"
kw[:height] = "$(height(bb).value)mm"
if sp[:title] != ""
push!(style, "title = $(sp[:title])")
kw[:title] = "$(sp[:title])"
end
sp[:grid] && push!(style, "grid = major")