This commit is contained in:
Simon Christ 2020-05-16 20:10:39 +02:00 committed by GitHub
parent c6ce23d0af
commit 682ac29fcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,8 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
bgc_inside = plot_color(sp[:background_color_inside]) bgc_inside = plot_color(sp[:background_color_inside])
bgc_inside_a = alpha(bgc_inside) bgc_inside_a = alpha(bgc_inside)
axis_opt = PGFPlotsX.Options( axis_opt = PGFPlotsX.Options(
"point meta max" => get_clims(sp)[2],
"point meta min" => get_clims(sp)[1],
"title" => sp[:title], "title" => sp[:title],
"title style" => PGFPlotsX.Options( "title style" => PGFPlotsX.Options(
"at" => if title_loc == :left "at" => if title_loc == :left
@ -246,8 +248,6 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
axis_opt, axis_opt,
string("colorbar", pgfx_get_colorbar_pos(sp[:colorbar])) => nothing, string("colorbar", pgfx_get_colorbar_pos(sp[:colorbar])) => nothing,
"colorbar style" => colorbar_style, "colorbar style" => colorbar_style,
"point meta max" => get_clims(sp)[2],
"point meta min" => get_clims(sp)[1],
) )
end end
if RecipesPipeline.is3d(sp) if RecipesPipeline.is3d(sp)