This commit is contained in:
Simon Christ 2022-03-11 14:37:28 +01:00
parent 2defecc749
commit 81b80fc5b1
3 changed files with 54 additions and 54 deletions

View File

@ -1,7 +1,7 @@
using Plots, Test
@testset "Series Attributes" begin
pl = plot([1,2,3], lw = 5)
pl = plot([1, 2, 3], lw = 5)
@test hline!(pl, [1.75]).series_list == hline!(pl, [1.75], z_order = :front).series_list
@test hline!(pl, [1.75], z_order == :back)[1].series_list[1][:label] == "y3"
@test hline!(pl, [1.75], z_order == 2)[1].series_list[2][:label] == "y3"