Skip to content

Strata

subsurfaceio.geotech_plot.mixins.mpl.strata

Categorical strata bands for matplotlib figures.

Classes:

Name Description
StrataMixin

Redraws categorical parameter traces as stacked colored bands.

StrataMixin pydantic-model

Bases: SubplotsMixin, BaseModel

Redraws categorical parameter traces as stacked colored bands.

Attributes:

Name Type Description
elevation_map dict[str, float]

Surface elevation per trace label, used to place the first band when plotting against elevation rather than depth.

Fields:

elevation_map pydantic-field

elevation_map: dict[str, float]