Create a cell and add it to the table. Parameters ---------- row : int Row index. col : int Column index. *args, **kwargs All other parameters are passed on to `Cell`. Returns ------- `.Cel
(self, row, col, *args, **kwargs)
| 329 | self.set_clip_on(False) |
| 330 | |
| 331 | def add_cell(self, row, col, *args, **kwargs): |
| 332 | """ |
| 333 | Create a cell and add it to the table. |
| 334 | |
| 335 | Parameters |
| 336 | ---------- |
| 337 | row : int |
| 338 | Row index. |
| 339 | col : int |
| 340 | Column index. |
| 341 | *args, **kwargs |
| 342 | All other parameters are passed on to `Cell`. |
| 343 | |
| 344 | Returns |
| 345 | ------- |
| 346 | `.Cell` |
| 347 | The created cell. |
| 348 | |
| 349 | """ |
| 350 | xy = (0, 0) |
| 351 | cell = Cell(xy, visible_edges=self.edges, *args, **kwargs) |
| 352 | self[row, col] = cell |
| 353 | return cell |
| 354 | |
| 355 | def __setitem__(self, position, cell): |
| 356 | """ |