[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-task-tracker] [task #14243] Rewrite legend.m
From: |
Dan Sebald |
Subject: |
[Octave-task-tracker] [task #14243] Rewrite legend.m |
Date: |
Thu, 21 Dec 2017 17:04:18 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0 |
Follow-up Comment #6, task #14243 (project octave):
OK, a lot of work, but I think any new minor bugs are worth the change.
This conditional:
+ if (! all (ishghandle (plty)))
error ("legend.m: This should not happen. File a bug report.");
endif
All it is really doing is encouraging users to file a bug report. It creates
an error with regard to Octave's internal programming, not something caused by
the user (like an ill-formed matrix, etc.). But without this it will result
in an error eventually also via using a bogus handle. So, I don't know how
beneficial this was in the first place. If it is possible the user inputs a
bogus handle, then it is O.E. and we don't want a bug report for that.
Missed line-space here?:
+
+endfunction
+## Axes to which legend was attached has been deleted. Delete legend.
+function cb_axes_deleted (~, ~, hlegend)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/task/?14243>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/