Figure mpl
subsurfaceio.geotech_plot.figure_mpl
Matplotlib renderer for geotechnical figures.
Classes:
| Name | Description |
|---|---|
GeotechFigure |
A matplotlib figure with geotechnical axis, styling, and strata handling. |
GeotechFigure
pydantic-model
Bases: AnnotationsMixin, ShapesMixin, AxesMixin, StyleMixin, StrataMixin, LegendMixin, MplFigure, BaseFigure
A matplotlib figure with geotechnical axis, styling, and strata handling.
Extends the express render with parameter-aware post-processing: axis scales and bounds, per-trace styling, data-bin bands, categorical strata, facet label substitution, and a consolidated figure legend.
Fields:
-
sharex(AxisSharing) -
sharey(AxisSharing) -
plot_model(PlotModel) -
fig(Figure) -
reverse_x(bool) -
reverse_y(bool) -
minor_ticks(bool) -
x_ticks_above(bool) -
elevation_map(dict[str, float]) -
style_map(dict[str, StyleMap]) -
axis_map(dict[str, AxisMap])
place_x_ticks_above
Move x-axis ticks and label to the top of each subplot.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
annotation_y_increment
|
float
|
Pixels to shift horizontal annotations up by, clearing the relocated ticks. |
20
|
Returns:
| Type | Description |
|---|---|
Self
|
Self, for chaining. |