Skip to content

Figure plotly

subsurfaceio.plot.figure_plotly

Plotly backend for express plot specifications.

Classes:

Name Description
PlotlyFigure

Renders a plot specification with Plotly Express.

PlotlyFigure pydantic-model

Bases: BaseFigure

Renders a plot specification with Plotly Express.

The subsurfaceio template is applied unless plot_model already sets one.

Fields:

fig property

fig: Figure

Rendered Plotly figure.

Raises:

Type Description
RuntimeError

When accessed before plot.

set_minor_ticks

set_minor_ticks() -> Self

Show minor ticks outside both axes.

Returns:

Type Description
Self

Self, for chaining.