bnl.viz.plot_multisegment
- bnl.viz.plot_multisegment(ms, colorscale='D3', hatch=True)[source]
Plots all layers of the MultiSegment with interactive features.
- Parameters:
ms (MultiSegment) – The MultiSegment to plot.
colorscale (str | list[str], optional) – Plotly colorscale to use. Can be a qualitative scale name (e.g., “Set3”, “Pastel”) or a list of colors. Defaults to “D3”.
hatch (bool, optional) – Whether to use hatch patterns for different labels. Defaults to True.
- Returns:
The Plotly figure with the MultiSegment.
- Return type:
Figure