fix point meta for colorbars (#2586)

This commit is contained in:
Simon Christ 2020-04-16 00:09:28 +02:00 committed by GitHub
parent befe20700a
commit fe92a384b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,9 +224,9 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
axis_opt,
"colorbar style" => PGFPlotsX.Options(
"title" => sp[:colorbar_title],
"point meta max" => get_clims(sp)[2],
"point meta min" => get_clims(sp)[1],
),
"point meta max" => get_clims(sp)[2],
"point meta min" => get_clims(sp)[1],
)
if RecipesPipeline.is3d(sp)
azim, elev = sp[:camera]