fix point meta for colorbars

This commit is contained in:
Simon Christ 2020-04-15 23:46:35 +02:00
parent befe20700a
commit 27bd6f0f61

View File

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