VolumeFractions

Note

This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.

class VolumeFractions(at: str = 'habitat_map')[source]

Bases: object

Bar chart of per-habitat volume fractions of the non-background VOI.

stem(subject_id: str) → str[source]

Return the PNG stem <subject>_volume_fractions.

draw(ctx: SubjectContext) → 'Figure' | None[source]

Draw the bar chart, or None when the map has no habitats.

__init__(at: str = 'habitat_map') → None