|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #48469] 'linewidth' 0 is the same as no linewidth option |
Date: | Mon, 11 Jul 2016 19:07:09 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Update of bug #48469 (project octave): Status: None => Confirmed Release: 4.0.2 => dev Operating System: GNU/Linux => Any _______________________________________________________ Follow-up Comment #1: Confirmed on default. Setting the linewidth property to 0.1 works and draws a very faint lint. Setting the linewidth property to 0 seems to draw the line with the default value. The property is stored as 0. Actually the linewidth property doesn't seem to have any validation on it, I can enter a linewidth of -12 and it also renders the same as the default linewidth. I suspect the right way to solve this would be to throw an "invalid value for property linewidth" error if the value is not a positive scalar. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48469> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |