Add test to confirm series args update after initial plot creation

This commit is contained in:
Diaga 2020-07-30 05:13:13 +05:00
parent 4dd24bdc45
commit 6b8131fcca

View File

@ -995,6 +995,18 @@ const _examples = PlotExample[
scatter!(Point2.(eachcol(rand(d,1000))), alpha=0.25)
end]
),
PlotExample(
"Series args update after initial plot creation",
"",
[
quote
begin
plot([sin, cos], -2π, 2π, label = ["sin(θ)" "cos(θ)"], legend = :outerbottom)
plot!(label=["cos(θ)" "sin(θ)"], arrow=(:closed, 2.0))
end
end,
],
),
]
# Some constants for PlotDocs and PlotReferenceImages