add area legend for shapes

This commit is contained in:
Simon Christ
2019-11-29 11:47:45 +01:00
parent c0e68af63f
commit 57db8095c4
+3
View File
@@ -537,6 +537,9 @@ function _update_plot_object(plt::Plot{PGFPlotsXBackend})
"color" => opt[:linecolor],
"scatter" => nothing,
)
if st == :shape
push!(series_opt, "area legend" => nothing)
end
if opt[:marker_z] !== nothing
push!(series_opt, "point meta" => "explicit")
end