From 39e93f40c26c526725b36744001b970e8e2b7e1f Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Fri, 29 Nov 2019 16:38:40 +0100 Subject: [PATCH] fix tests --- test/test_pgfplotsx.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index fc27f0e8..ca033a52 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -37,8 +37,8 @@ end Plots._update_plot_object(pl) axis = Plots.pgfx_axes(pl.o)[1] @test count( x->x isa PGFPlotsX.LegendEntry, axis.contents ) == 5 - @test count( x->x isa PGFPlotsX.Plot, axis.contents ) == 104 # each marker is its own plot - marker = axis.contents[14] + @test count( x->x isa PGFPlotsX.Plot, axis.contents ) == 108 # each marker is its own plot, fillranges create 2 plot-objects + marker = axis.contents[15] @test marker isa PGFPlotsX.Plot @test marker.options["mark"] == "*" @test marker.options["mark options"]["color"] == RGBA{Float64}( colorant"green", 0.8)