Cell#
- class discopy.drawing.grid.Cell(start, stop, label=None)[source]#
Bases:
object
A cell is a pair of integers
start
andstop
and an optionallabel
.- Parameters:
start (int) – The left of the cell.
stop (int) – The right of the cell.
label (monoidal.Ty | monoidal.Box) – The label of the cell.