Change the minimum size of the margin for one cell. Parameters ---------- todo : string (one of 'left', 'right', 'bottom', 'top') margin to alter. size : float Minimum size of the margin . If it is larger than the existi
(self, todo, size, cell=0)
| 267 | self.margin_vals[todo][cell] = size |
| 268 | |
| 269 | def edit_margin_min(self, todo, size, cell=0): |
| 270 | """ |
| 271 | Change the minimum size of the margin for one cell. |
| 272 | |
| 273 | Parameters |
| 274 | ---------- |
| 275 | todo : string (one of 'left', 'right', 'bottom', 'top') |
| 276 | margin to alter. |
| 277 | |
| 278 | size : float |
| 279 | Minimum size of the margin . If it is larger than the |
| 280 | existing minimum it updates the margin size. Fraction of |
| 281 | figure size. |
| 282 | |
| 283 | cell : int |
| 284 | Cell column or row to edit. |
| 285 | """ |
| 286 | |
| 287 | if size > self.margin_vals[todo][cell]: |
| 288 | self.edit_margin(todo, size, cell) |
| 289 | |
| 290 | def edit_margins(self, todo, size): |
| 291 | """ |
no test coverage detected