well_schematics developer API

Groundwater resources

well_schematics.plot_single_diameter_well(segments, ax=None, tight_layout=True, depth_tick_markers=False, pipe_width=0.08, hatch_density=3)[source]

Draw casing in a well which is a single diameter construction.

Parameters:
  • segments (sequence of dicts) – each dict should be in the form {"type": <str>, "top": <float>, "bottom": <float>}. The “type” should be either “casing”, “pipe”, “blank”, or “sump”, or a production zone type (either “screen”, “slotted casing” or “open hole”). “top” and “bottom” are the top and bottom of each segment.
  • ax (matplotlib.Axes) – to draw in
  • tight_layout (bool) – run tight_layout() on ax.figure to rearrange things to fit.
  • depth_tick_markers (bool) – show tick markers for the vertical depth axis. Labels will always appear.
  • pipe_width (float) – width of pipe
  • hatch_density (int) – density of screen hatching

Returns: a list of the artists created.