change pgfplots legend symbol for shapes and filled plots

This commit is contained in:
Daniel Schwabeneder 2017-11-08 22:02:40 +01:00
parent ed75369c6d
commit 51d4630405

View File

@ -207,6 +207,9 @@ function pgf_series(sp::Subplot, series::Series)
# add to legend?
if sp[:legend] != :none && should_add_to_legend(series)
kw[:legendentry] = d[:label]
if st == :shape || d[:fillrange] != nothing
push!(style, "area legend")
end
else
push!(style, "forget plot")
end