Skip to content

Plot

subsurfaceio.logplot.render.columns.plot

Matplotlib → SVG plot column renderer.

Classes:

Name Description
PlotColumnRenderer

Renders continuous data plots via matplotlib → SVG.

PlotColumnRenderer

Renders continuous data plots via matplotlib → SVG.

Methods:

Name Description
render

Render plot series for the current page y-window.

render staticmethod

render(column: Column, ctx: RenderContext) -> str

Render plot series for the current page y-window.

Parameters:

Name Type Description Default
column Column

Column whose model is a PlotColumn.

required
ctx RenderContext

Page geometry and dumped data.

required

Returns:

Type Description
str

Standalone <svg>…</svg> fragment from matplotlib.

Raises:

Type Description
TypeError

If column.model is not a PlotColumn.