Skip to content

Commit 31df213

Browse files
author
Rik
committed
maint: merge stable to default
2 parents 8931805 + 9dae6d4 commit 31df213

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

etc/NEWS.10.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Summary of bugs fixed for version 10.3.0 (tbd):
3131
- Skip saving too large arrays in `-binary` format (bug #67382).
3232
- Write and read large array in chunks for `-binary` file format (bug #67382).
3333
- Correctly parse `clear ?` (bug #67459).
34+
- `colorbar.m`: Don't emit error if "position" property given (bug #67537).
3435

3536
### GUI
3637

scripts/plot/draw/colorbar.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,12 @@
272272
[axpos, cbpos, vertical, mirror] = ...
273273
calc_cbar_position (loc, props, ancestor (hpar, "figure"));
274274
set (hax, "position", axpos);
275+
else
276+
## colorbar position specified.
277+
## 1) Don't shrink existing plot axes,
278+
## 2) Assume "EastOutside" orientation (vertical=true, mirror=true)
279+
vertical = true;
280+
mirror = true;
275281
endif
276282

277283
## Create colorbar axes if necessary

0 commit comments

Comments
 (0)