Mercurial > octave
changeset 26570:14cc8f61eba0
annotation.m: Only emit warning about "edgecolor" prop if user has specified it.
* annotation.m: Delete "edgecolor" from default propreties before applying to
rectangle object.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 17 Jan 2019 19:40:37 -0800 |
parents | 73654374b86f |
children | 16f18b0ef642 |
files | scripts/plot/appearance/annotation.m |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/appearance/annotation.m Thu Jan 17 08:28:52 2019 -0800 +++ b/scripts/plot/appearance/annotation.m Thu Jan 17 19:40:37 2019 -0800 @@ -481,6 +481,8 @@ hr = patch (x, y, "parent", h); propnames = rectprops ("names"); + ## FIXME: Remove in Octave 6 + propnames(strcmp ("edgecolor", propnames)) = []; for ii = 1:numel (propnames) update_rect (h, {}, propnames{ii}, hr, objtype); endfor