changeset 28875:b4ffff8683fc

maint: merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 08 Oct 2020 20:25:05 +0200
parents f389a69916c4 (current diff) 4a7890793baf (diff)
children fb4477c3d399
files scripts/plot/draw/colorbar.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/colorbar.m	Thu Oct 08 19:17:16 2020 +0200
+++ b/scripts/plot/draw/colorbar.m	Thu Oct 08 20:25:05 2020 +0200
@@ -277,7 +277,8 @@
     ## Create colorbar axes if necessary
     if (new_colorbar)
       hcb = axes ("parent", hpar, "tag", "colorbar",
-                  "positionconstraint", "innerposition", "position", cbpos,
+                  "activepositionproperty", "position",
+                  "units", get (hax, "units"), "position", cbpos,
                   "colormap", cmap,
                   "box", "on", "xdir", "normal", "ydir", "normal");