Graphic
subsurfaceio.logplot.render.columns.graphic
Hatch/fill graphic column renderer.
Classes:
| Name | Description |
|---|---|
GraphicColumnRenderer |
Renders hatch/fill graphic blocks (lithology, well construction, etc.). |
Functions:
| Name | Description |
|---|---|
pointer_lane_fraction |
Return hatch-attachment fraction for a gINT-style well pointer. |
GraphicColumnRenderer
Renders hatch/fill graphic blocks (lithology, well construction, etc.).
Methods:
| Name | Description |
|---|---|
render |
Render hatch blocks, then optional pointer labels for the page. |
render
staticmethod
Render hatch blocks, then optional pointer labels for the page.
Hatch pass: rows with hatch + bottom depth, clipped to the page.
Label pass: rows with text; Y is interval midpoint or point
depth_top; shared text column with leaders attached on the hatch
by pointer_field; light collision elbows.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
column
|
Column
|
Column whose model is a |
required |
ctx
|
RenderContext
|
Page geometry, dumped data, and shared SVG definitions. |
required |
Returns:
| Type | Description |
|---|---|
str
|
Concatenated SVG for graphic blocks, borders, and labels. |
Raises:
| Type | Description |
|---|---|
TypeError
|
If |
ValueError
|
If both |
pointer_lane_fraction
Return hatch-attachment fraction for a gINT-style well pointer.
Text labels share one column; pointer only selects where the leader
tip meets the hatch strip (0–1 of graphic width).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pointer
|
WellPointer | str | None
|
|
required |
Returns:
| Type | Description |
|---|---|
float
|
Fraction in |
Raises:
| Type | Description |
|---|---|
ValueError
|
If |