changeset 31456:48c0379d86f2

maint: Complete removal of deprecated numbers for plot colors. * __pltopt__.m: Remove validation code to check for using number as color code.
author Rik <rik@octave.org>
date Wed, 16 Nov 2022 09:21:35 -0800
parents c3dd36a80a7d
children a96f68a48e9e
files scripts/plot/util/__pltopt__.m
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/util/__pltopt__.m	Wed Nov 16 17:04:55 2022 +0100
+++ b/scripts/plot/util/__pltopt__.m	Wed Nov 16 09:21:35 2022 -0800
@@ -158,12 +158,6 @@
     topt = opt(1);
     n = 1;
 
-    if (any (topt == "0":"6"))
-      warning ("Octave:deprecated-option", ...
-               ["%s: using numbers to select line colors is deprecated.  ", ...
-                "Use the corresponding color identifier instead."], caller);
-    endif
-
     ## LineStyles
     if (strncmp (opt, "--", 2) || strncmp (opt, "-.", 2))
       options.linestyle = opt(1:2);