changeset 27720:5f0e2e097e08

Stop incorrect warning when EY is a scalar and FMT is present (bug #57261). * __errplot__.m: Remove typo of '()' which was attempting to call a variable like a function.
author Rik <rik@octave.org>
date Tue, 19 Nov 2019 08:57:49 -0800
parents 88350aacd800
children 6eb7491a8794
files scripts/plot/draw/private/__errplot__.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/plot/draw/private/__errplot__.m	Tue Nov 19 08:53:02 2019 -0800
+++ b/scripts/plot/draw/private/__errplot__.m	Tue Nov 19 08:57:49 2019 -0800
@@ -106,7 +106,7 @@
     if (isempty (fmt.color))
       lc = __next_line_color__ ();
     else
-      lc = fmt.color ();
+      lc = fmt.color;
     endif
     if (isempty (fmt.marker) && isempty (fmt.linestyle))
       [ls, mk] = __next_line_style__ ();