Mercurial > octave
changeset 27815:bad702797afb
annotation.m: Remove deprecated property "edgecolor" for rectangles.
* annotation.m: Remove deprecated property "edgecolor" for rectangles.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 12 Dec 2019 21:38:59 -0800 |
parents | 83c748eb9fbd |
children | 9a498cde5bc5 |
files | scripts/plot/appearance/annotation.m |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/appearance/annotation.m Fri Dec 13 11:35:05 2019 +0900 +++ b/scripts/plot/appearance/annotation.m Thu Dec 12 21:38:59 2019 -0800 @@ -481,8 +481,6 @@ 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 @@ -799,9 +797,7 @@ function props = rectprops (varargin) - ## FIXME: DEPRECATED: Remove "edgecolor" in version 6. props = {"color", "patchedgecolor", "k", ... - "edgecolor", "patchedgecolor", "k", ... "facealpha", "patchfacealpha", 1, ... "facecolor", "patchfacecolor", "none", ... "linestyle", "patchlinestyle", "-", ... @@ -1275,14 +1271,6 @@ case "color" set (hre, "edgecolor", get (h, prop)); - case "edgecolor" - ## FIXME: DEPRECATED: Remove "edgecolor" in version 6. - warning ("Octave:deprecated-property", - ['annotation: Property "edgecolor" for ' typ ' annotations'... - ' is deprecated and will be removed from a future version'... - ' of Octave. Use "color" instead.']); - set (hre, "edgecolor", get (h, prop)); - otherwise set (hre, prop, get (h, prop));