From 3f70fdb3aaebe8053bdfc15c028fe469822dcd8e Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 19 Nov 2019 12:05:43 +0100 Subject: [PATCH] correct test --- test/test_pgfplotsx.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index a636fd91..4ee29dbd 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -22,11 +22,9 @@ end y = (0.1ts) .* map(sin, ts) z = 1:n pl = plot(x, y, z, zcolor=reverse(z), m=(10, 0.8, :blues, Plots.stroke(0)), leg=false, cbar=true, w=5) - @show PGFPlotsX.CUSTOM_PREAMBLE - @show PGFPlotsX.CUSTOM_PREAMBLE_PATH pgfx_plot, pgfx_tex = create_plot!(pl, zeros(n), zeros(n), 1:n, w=10) if @test_nowarn(haskey(pgfx_plot.o.contents[1].options.dict, "colormap") == true) - @test pgfx_plot.o.contents[1]["colormap"] === nothing + @test pgfx_plot.o.contents[1]["colorbar"] === nothing end end # testset end # testset