pytyche.viz.plot_cells¶
- pytyche.viz.plot_cells(cells, ax=None)[source]¶
Horizontal bar chart of per-cell traffic weights.
- Parameters:
cells (
Sequence[Any]) – Objects carryingid(str) andweight(float) attributes — the shipped L1Cellshape, consumed duck-typed.ax (
Axes|None) – Existing axes to draw into;Nonecreates a new figure.
- Return type:
Axes- Returns:
The axes containing one bar per cell, top-to-bottom in list order.