reproduce 3D docs plot

This commit is contained in:
Simon Christ
2019-11-19 14:47:54 +01:00
parent f2f647c642
commit c0e68af63f
2 changed files with 10 additions and 15 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ end
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)
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)
if @test_nowarn(haskey(pgfx_plot.o.contents[1].options.dict, "colorbar") == true)
@test pgfx_plot.o.contents[1]["colorbar"] === nothing
end
end # testset