uniform_cells
Mojo function 🡭
uniform_cells
fn def uniform_cells(count: Int, cols: Int) -> List[GridCell]count plots left to right, cols per row: what a facet grid is.
Args:
- count (
Int): How many plots. - cols (
Int): Cells per row.
Returns:
List[GridCell]: One cell per plot.
Raises:
Error: cols is not positive.