make colorbars thinner

This commit is contained in:
Daniel Schwabeneder 2020-05-13 16:45:30 +02:00
parent 7eb8f2452c
commit 9d1ede016b

View File

@ -247,6 +247,7 @@ function (pgfx_plot::PGFPlotsXPlot)(plt::Plot{PGFPlotsXBackend})
push!( push!(
axis_opt, axis_opt,
string("colorbar", pgfx_get_colorbar_pos(sp[:colorbar])) => nothing, string("colorbar", pgfx_get_colorbar_pos(sp[:colorbar])) => nothing,
"colorbar/width" => "2mm",
"colorbar style" => colorbar_style, "colorbar style" => colorbar_style,
"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],