WellComparisonPlot

petrophys.visualization.WellComparisonPlot

class WellComparisonPlot(fig, axes, warnings)[source]

One figure comparing curves across wells: a track per curve, a line per well.

Returned by petrophys.plot() for several wells with curves. fig and axes are the matplotlib figure and tracks; warnings names the curves a well does not have.

Methods

close

Close the figure and free its memory.

save

Save the figure (png, pdf, svg, .

show

Display the figure.

Parameters:
  • fig (Figure)

  • axes (List['Axes'])

  • warnings (List[str])

fig: 'Figure' | None
save(filename, dpi=150)[source]

Save the figure (png, pdf, svg, … by the extension).

Outside an interactive session the figure is released from pyplot after saving; .fig keeps it for further edits and saves.

Parameters:
Return type:

None

show()[source]

Display the figure.

Return type:

None

close()[source]

Close the figure and free its memory.

Return type:

None