plot_habitat_volume_fractions
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- plot_habitat_volume_fractions(fractions: Mapping[int, float], *, title: str | None = None) Figure[source]
Bar chart of per-habitat volume fractions (of non-background VOI).
- Parameters:
fractions – Habitat id → fraction in
[0, 1].title – Optional figure title.
- Returns:
A matplotlib
Figure.