Plots.jl/test/test_pipeline.jl
2021-07-03 16:03:20 +02:00

11 lines
294 B
Julia

using Plots, Test
@testset "plot" begin
pl = plot(1:5)
pl2 = plot(pl, tex_output_standalone = true)
@test pl[:tex_output_standalone] == false
@test pl2[:tex_output_standalone] == true
plot!(pl, tex_output_standalone = true)
@test pl[:tex_output_standalone] == true
end