Change the size of the margin for one cell. Parameters ---------- todo : string (one of 'left', 'right', 'bottom', 'top') margin to alter. size : float Size of the margin. If it is larger than the existing minimum it upd
(self, todo, size, cell)
| 248 | # contain things of a fixed size like axes labels, tick labels, titles |
| 249 | # etc |
| 250 | def edit_margin(self, todo, size, cell): |
| 251 | """ |
| 252 | Change the size of the margin for one cell. |
| 253 | |
| 254 | Parameters |
| 255 | ---------- |
| 256 | todo : string (one of 'left', 'right', 'bottom', 'top') |
| 257 | margin to alter. |
| 258 | |
| 259 | size : float |
| 260 | Size of the margin. If it is larger than the existing minimum it |
| 261 | updates the margin size. Fraction of figure size. |
| 262 | |
| 263 | cell : int |
| 264 | Cell column or row to edit. |
| 265 | """ |
| 266 | self.solver.suggestValue(self.margins[todo][cell], size) |
| 267 | self.margin_vals[todo][cell] = size |
| 268 | |
| 269 | def edit_margin_min(self, todo, size, cell=0): |
| 270 | """ |
no outgoing calls
no test coverage detected