From 0075103ddfd83e26a0f4d08a3abf63fd90412029 Mon Sep 17 00:00:00 2001 From: yharel Date: Fri, 29 Mar 2019 22:01:28 +0300 Subject: [PATCH] Proportional colorbar spacing in pyplot --- src/backends/pyplot.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index 8697c07f..d3e0e091 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -1013,6 +1013,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend}) cmap."set_array"([]) handle = cmap end + kw[:spacing] = "proportional" # create and store the colorbar object (handle) and the axis that it is drawn on. # note: the colorbar axis is positioned independently from the subplot axis