This commit is contained in:
Simon Christ 2019-11-21 22:28:36 +01:00
parent 4dd4d5eb5f
commit 5694ce53f6
2 changed files with 4 additions and 2 deletions

View File

@ -115,6 +115,10 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
"point meta min" => get_clims(sp)[1]
)
)
if is3d(sp)
azim, elev = sp[:camera]
push!( axis_opt, "view" => (azim, elev) )
end
axisf = if sp[:projection] == :polar
# TODO: this errors for some reason
# push!(axis_opt, "xmin" => 90)

View File

@ -86,8 +86,6 @@ end
@test Plots.pgfx_axes(pgfx_plot.o)[1]["colorbar"] === nothing
@test Plots.pgfx_axes(pgfx_plot.o)[1]["colormap name"] == "plots1"
end
# TODO: wrong colors
# TODO: lines instead of patches
end # testset
@testset "Contours" begin
x = 1:0.5:20