Update test_pgfplotsx.jl

This commit is contained in:
Simon Christ 2020-07-31 20:25:25 +02:00 committed by GitHub
parent 5138c4940c
commit 9db018500a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -348,5 +348,5 @@ end # testset
@test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};")
Plots._update_plot_object(pl)
axes = Plots.pgfx_axes(pl.o)
@test axes[1].contents[end] == raw"\node at (0,0.5) {\huge hi};"
@test filter(x->x isa String, axes[1].contents)[1] == raw"\node at (0,0.5) {\huge hi};"
end # testset