Skip to content

Style

subsurfaceio.geotech_plot.mixins.plotly.style

Per-trace style application for Plotly figures.

Classes:

Name Description
StyleMixin

Applies StyleMap settings to traces matched by name.

StyleMixin pydantic-model

Bases: SubplotsMixin, BaseModel

Applies StyleMap settings to traces matched by name.

Attributes:

Name Type Description
style_map dict[str, StyleMap]

Style configuration keyed by trace name. Traces absent from the mapping keep the express defaults.

Fields:

style_map pydantic-field

style_map: dict[str, StyleMap]