Mercurial > octave
comparison scripts/plot/draw/private/__pie__.m @ 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 | 796f54d4ddbf |
children | 597f3ee61a48 |
comparison
equal
deleted
inserted
replaced
31218:a33a9c87220b | 31220:5b021ecc8bfe |
---|---|
160 axis ([-1.5, 1.5, -1.5, 1.5], "square", "off"); | 160 axis ([-1.5, 1.5, -1.5, 1.5], "square", "off"); |
161 endif | 161 endif |
162 | 162 |
163 endfunction | 163 endfunction |
164 | 164 |
165 function update_text_pos (all_handles) | 165 function update_text_pos (~, ~, all_handles) |
166 | 166 |
167 ## Text objects in the foreground should be at the base level. | 167 ## Text objects in the foreground should be at the base level. |
168 ## Text objects in the background should be at the top level. | 168 ## Text objects in the background should be at the top level. |
169 ## Text objects on the right side should be aligned to the right | 169 ## Text objects on the right side should be aligned to the right |
170 ## and on the left side to the left. | 170 ## and on the left side to the left. |