add area legend for shapes

This commit is contained in:
Simon Christ 2019-11-19 14:58:03 +01:00
parent c0e68af63f
commit 57db8095c4

View File

@ -537,6 +537,9 @@ function _update_plot_object(plt::Plot{PGFPlotsXBackend})
"color" => opt[:linecolor], "color" => opt[:linecolor],
"scatter" => nothing, "scatter" => nothing,
) )
if st == :shape
push!(series_opt, "area legend" => nothing)
end
if opt[:marker_z] !== nothing if opt[:marker_z] !== nothing
push!(series_opt, "point meta" => "explicit") push!(series_opt, "point meta" => "explicit")
end end