Mercurial > octave
changeset 31220:5b021ecc8bfe stable
pie3: Fix "Too many input" args error.
* __pie__.m (update_text_pos): Change prototype to match the expected number of
input arguments.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Wed, 31 Aug 2022 22:01:39 +0200 |
parents | a33a9c87220b |
children | f5755dbacd8d adfbd487d0f6 |
files | scripts/plot/draw/private/__pie__.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/plot/draw/private/__pie__.m Tue Aug 30 15:24:29 2022 -0700 +++ b/scripts/plot/draw/private/__pie__.m Wed Aug 31 22:01:39 2022 +0200 @@ -162,7 +162,7 @@ endfunction -function update_text_pos (all_handles) +function update_text_pos (~, ~, all_handles) ## Text objects in the foreground should be at the base level. ## Text objects in the background should be at the top level.