Update test_pgfplotsx.jl
This commit is contained in:
parent
9db018500a
commit
25a64c0ea4
@ -344,6 +344,7 @@ end # testset
|
|||||||
pl = plot(x->x, -1:1; add = raw"\node at (0,0.5) {\huge hi};", extra_kwargs = :subplot)
|
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};")
|
@test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};")
|
||||||
Plots._update_plot_object(pl)
|
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)
|
plot!(pl)
|
||||||
@test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};")
|
@test pl[1][:extra_kwargs] == Dict(:add => raw"\node at (0,0.5) {\huge hi};")
|
||||||
Plots._update_plot_object(pl)
|
Plots._update_plot_object(pl)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user