From 25a64c0ea4e03e2876ec032f578ba67455398a01 Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Fri, 31 Jul 2020 20:34:32 +0200 Subject: [PATCH] Update test_pgfplotsx.jl --- test/test_pgfplotsx.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_pgfplotsx.jl b/test/test_pgfplotsx.jl index 5dc76282..9dc366b1 100644 --- a/test/test_pgfplotsx.jl +++ b/test/test_pgfplotsx.jl @@ -344,6 +344,7 @@ end # testset pl = plot(x->x, -1:1; add = raw"\node at (0,0.5) {\huge hi};", extra_kwargs = :subplot) @test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};") Plots._update_plot_object(pl) + @test filter(x->x isa String, axes[1].contents)[1] == raw"\node at (0,0.5) {\huge hi};" plot!(pl) @test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};") Plots._update_plot_object(pl)