Skip to content

Commit c93c146

Browse files
chore(plotly): update quality score 86 and review feedback for column-stratigraphic
1 parent 3432d6a commit c93c146

2 files changed

Lines changed: 214 additions & 10 deletions

File tree

plots/column-stratigraphic/implementations/plotly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
"""pyplots.ai
1+
""" pyplots.ai
22
column-stratigraphic: Stratigraphic Column with Lithology Patterns
3-
Library: plotly | Python 3.13
4-
Quality: pending | Created: 2026-03-15
3+
Library: plotly 6.6.0 | Python 3.14.3
4+
Quality: 86/100 | Created: 2026-03-15
55
"""
66

77
import plotly.graph_objects as go
Lines changed: 211 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
# Per-library metadata for plotly implementation of column-stratigraphic
2-
# Auto-generated by impl-generate.yml
3-
41
library: plotly
52
specification_id: column-stratigraphic
63
created: '2026-03-15T22:56:23Z'
7-
updated: '2026-03-15T22:56:23Z'
4+
updated: '2026-03-15T23:00:17Z'
85
generated_by: claude-opus-4-5-20251101
96
workflow_run: 23121198678
107
issue: 4573
@@ -13,7 +10,214 @@ library_version: 6.6.0
1310
preview_url: https://storage.googleapis.com/pyplots-images/plots/column-stratigraphic/plotly/plot.png
1411
preview_thumb: https://storage.googleapis.com/pyplots-images/plots/column-stratigraphic/plotly/plot_thumb.png
1512
preview_html: https://storage.googleapis.com/pyplots-images/plots/column-stratigraphic/plotly/plot.html
16-
quality_score: null
13+
quality_score: 86
1714
review:
18-
strengths: []
19-
weaknesses: []
15+
strengths:
16+
- Perfect spec compliance with all required features (lithology patterns, formation
17+
names, age labels, depth scale, 5+ lithology types)
18+
- Excellent geologically accurate data using real Western Interior Seaway formations
19+
- Clean well-structured code with appropriate use of Plotly pattern fill capabilities
20+
- Good use of Plotly-specific features (hover templates, HTML export, marker patterns)
21+
weaknesses:
22+
- Design could be elevated with stronger visual hierarchy at age boundaries
23+
- Color palette uses domain-appropriate but non-standard colors; could incorporate
24+
Python Blue
25+
- Empty space on the right between formation labels and legend
26+
- Annotation font size (13pt) could be slightly larger
27+
image_description: 'The plot displays a vertical stratigraphic column with 10 geological
28+
layers stacked from 0m (top) to ~195m (bottom), with depth increasing downward.
29+
Each layer uses a distinct fill pattern and background color: Sandstone (wheat/tan
30+
with dot pattern), Shale (gray with dash pattern), Limestone (light blue with
31+
plus/cross pattern), Siltstone (tan with diagonal line pattern), and Conglomerate
32+
(brown/orange with x pattern). Formation names (Dakota Fm, Graneros Sh, Greenhorn
33+
Ls, Carlile Sh, Niobrara Fm, Fort Hays Ls, Fox Hills Ss, Lance Fm, Fort Union
34+
Fm, Wasatch Fm) and lithology types are labeled to the right of each layer in
35+
bold/italic. Geological age labels (Late Cretaceous, Maastrichtian, Paleocene,
36+
Eocene) appear on the left side in italic gray text. The y-axis shows "Depth (m)"
37+
with ticks every 20m. A lithology legend with pattern swatches sits in the upper
38+
right corner. The title reads "column-stratigraphic · plotly · pyplots.ai" centered
39+
at the top.'
40+
criteria_checklist:
41+
visual_quality:
42+
score: 27
43+
max: 30
44+
items:
45+
- id: VQ-01
46+
name: Text Legibility
47+
score: 7
48+
max: 8
49+
passed: true
50+
comment: All font sizes explicitly set (title 28pt, axis 22pt, ticks 16pt,
51+
annotations 13pt). Annotation font slightly small.
52+
- id: VQ-02
53+
name: No Overlap
54+
score: 6
55+
max: 6
56+
passed: true
57+
comment: No overlapping text elements anywhere
58+
- id: VQ-03
59+
name: Element Visibility
60+
score: 6
61+
max: 6
62+
passed: true
63+
comment: All layers clearly visible with distinct patterns and colors
64+
- id: VQ-04
65+
name: Color Accessibility
66+
score: 3
67+
max: 4
68+
passed: true
69+
comment: Colors sufficiently distinct but not formally colorblind-safe palette
70+
- id: VQ-05
71+
name: Layout & Canvas
72+
score: 3
73+
max: 4
74+
passed: true
75+
comment: Good layout but noticeable empty space on right side
76+
- id: VQ-06
77+
name: Axis Labels & Title
78+
score: 2
79+
max: 2
80+
passed: true
81+
comment: Depth (m) includes units
82+
design_excellence:
83+
score: 12
84+
max: 20
85+
items:
86+
- id: DE-01
87+
name: Aesthetic Sophistication
88+
score: 5
89+
max: 8
90+
passed: true
91+
comment: Geology-appropriate colors with pattern fills, above defaults but
92+
not publication-level
93+
- id: DE-02
94+
name: Visual Refinement
95+
score: 4
96+
max: 6
97+
passed: true
98+
comment: Clean white background, subtle grid, x-axis hidden, good margins
99+
- id: DE-03
100+
name: Data Storytelling
101+
score: 3
102+
max: 6
103+
passed: true
104+
comment: Age grouping provides narrative but could benefit from stronger visual
105+
hierarchy at boundaries
106+
spec_compliance:
107+
score: 15
108+
max: 15
109+
items:
110+
- id: SC-01
111+
name: Plot Type
112+
score: 5
113+
max: 5
114+
passed: true
115+
comment: Correct vertical stratigraphic column with stacked rectangular blocks
116+
- id: SC-02
117+
name: Required Features
118+
score: 4
119+
max: 4
120+
passed: true
121+
comment: 'All features present: lithology patterns, formation names, age labels,
122+
depth scale, 5+ lithologies'
123+
- id: SC-03
124+
name: Data Mapping
125+
score: 3
126+
max: 3
127+
passed: true
128+
comment: Depth axis correctly oriented, layers properly positioned
129+
- id: SC-04
130+
name: Title & Legend
131+
score: 3
132+
max: 3
133+
passed: true
134+
comment: Title format correct, legend shows all lithology types with pattern
135+
swatches
136+
data_quality:
137+
score: 15
138+
max: 15
139+
items:
140+
- id: DQ-01
141+
name: Feature Coverage
142+
score: 6
143+
max: 6
144+
passed: true
145+
comment: 10 layers, 5 lithology types, varying thicknesses, multiple geological
146+
ages
147+
- id: DQ-02
148+
name: Realistic Context
149+
score: 5
150+
max: 5
151+
passed: true
152+
comment: Real Western Interior Seaway formations, geologically accurate sequence
153+
- id: DQ-03
154+
name: Appropriate Scale
155+
score: 4
156+
max: 4
157+
passed: true
158+
comment: Depths 0-195m realistic, layer thicknesses vary appropriately
159+
code_quality:
160+
score: 10
161+
max: 10
162+
items:
163+
- id: CQ-01
164+
name: KISS Structure
165+
score: 3
166+
max: 3
167+
passed: true
168+
comment: 'Clean linear structure: data, plot, style, save'
169+
- id: CQ-02
170+
name: Reproducibility
171+
score: 2
172+
max: 2
173+
passed: true
174+
comment: Fully deterministic hardcoded data
175+
- id: CQ-03
176+
name: Clean Imports
177+
score: 2
178+
max: 2
179+
passed: true
180+
comment: Only imports plotly.graph_objects
181+
- id: CQ-04
182+
name: Code Elegance
183+
score: 2
184+
max: 2
185+
passed: true
186+
comment: Clean, well-organized, age grouping logic appropriate
187+
- id: CQ-05
188+
name: Output & API
189+
score: 1
190+
max: 1
191+
passed: true
192+
comment: Saves as plot.png with correct dimensions, also exports HTML
193+
library_mastery:
194+
score: 7
195+
max: 10
196+
items:
197+
- id: LM-01
198+
name: Idiomatic Usage
199+
score: 4
200+
max: 5
201+
passed: true
202+
comment: Good use of go.Bar with base, marker.pattern, add_annotation, overlay
203+
barmode
204+
- id: LM-02
205+
name: Distinctive Features
206+
score: 3
207+
max: 5
208+
passed: true
209+
comment: Leverages pattern fill, hover templates, HTML export
210+
verdict: REJECTED
211+
impl_tags:
212+
dependencies: []
213+
techniques:
214+
- annotations
215+
- hover-tooltips
216+
- html-export
217+
- custom-legend
218+
patterns:
219+
- iteration-over-groups
220+
dataprep: []
221+
styling:
222+
- grid-styling
223+
- edge-highlighting

0 commit comments

Comments
 (0)