You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
POC here Evan made two axes, one for the Striplog, one for the descriptions. Features include text wrapping and minimum interval thickness thresholding to avoid text collisions (only thick intervals get text).
Matt: should not be too hard to adapt the existing label arg in Striplog.plot(). It's pretty close already, taking any component properties (label='lithology') or a format string thing for multiple properties, eg label='{colour} {lithology}'.
If the inner if had elif label=='description': label_text = iv.description (at line 1682) that should do it
The minimum thickness to label should probably just be another arg (label_min_thickness or whatever), although to give finer control a person could always make another field in the interval that only exists for certain beds.
The text was updated successfully, but these errors were encountered:
POC here Evan made two axes, one for the Striplog, one for the descriptions. Features include text wrapping and minimum interval thickness thresholding to avoid text collisions (only thick intervals get text).
Matt: should not be too hard to adapt the existing
label
arg inStriplog.plot()
. It's pretty close already, taking any component properties (label='lithology'
) or a format string thing for multiple properties, eglabel='{colour} {lithology}'
.The relevant code is https://github.com/agilescientific/striplog/blob/main/striplog/striplog.py#L1678-L1690
If the inner
if
hadelif label=='description': label_text = iv.description
(at line 1682) that should do itThe minimum thickness to label should probably just be another arg (
label_min_thickness
or whatever), although to give finer control a person could always make another field in the interval that only exists for certain beds.The text was updated successfully, but these errors were encountered: