Skip to content

Commit a88c4d5

Browse files
feat(bokeh): implement area-basic (#1396)
## Implementation: `area-basic` - bokeh Implements the **bokeh** version of `area-basic`. **File:** `plots/area-basic/implementations/bokeh.py` --- :robot: *[impl-generate workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20447970023)* --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8d83df8 commit a88c4d5

2 files changed

Lines changed: 17 additions & 9 deletions

File tree

plots/area-basic/implementations/bokeh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
""" pyplots.ai
22
area-basic: Basic Area Chart
33
Library: bokeh 3.8.1 | Python 3.13.11
4-
Quality: 100/100 | Created: 2025-12-14
4+
Quality: 92/100 | Created: 2025-12-23
55
"""
66

77
import numpy as np
Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
library: bokeh
22
specification_id: area-basic
3-
created: 2025-12-14 09:26:11+00:00
4-
updated: 2025-12-14 09:26:11+00:00
3+
created: '2025-12-23T00:48:55Z'
4+
updated: '2025-12-23T01:22:02Z'
55
generated_by: claude-opus-4-5-20251101
6-
workflow_run: 20205862589
7-
issue: 711
6+
workflow_run: 20447970023
7+
issue: 0
88
python_version: 3.13.11
99
library_version: 3.8.1
1010
preview_url: https://storage.googleapis.com/pyplots-images/plots/area-basic/bokeh/plot.png
1111
preview_thumb: https://storage.googleapis.com/pyplots-images/plots/area-basic/bokeh/plot_thumb.png
1212
preview_html: https://storage.googleapis.com/pyplots-images/plots/area-basic/bokeh/plot.html
13-
quality_score: 100
13+
quality_score: 92
1414
review:
15-
strengths: []
16-
weaknesses: []
17-
improvements: []
15+
strengths:
16+
- Excellent text sizing scaled appropriately for 4800x2700 canvas
17+
- Clean KISS code structure with proper seed for reproducibility
18+
- Realistic website traffic data with believable weekly patterns and upward trend
19+
- Proper use of Bokeh varea() for area fill with line overlay for definition
20+
- Semi-transparent fill (0.4) matches spec recommendation (0.3-0.5)
21+
- Y-axis correctly starts at 0 for honest area representation
22+
weaknesses:
23+
- Missing HoverTool for interactivity - Bokeh key strength is interactive exploration
24+
- Axis labels lack units (could be Daily Visitors count or similar)
25+
- Large empty space below data since values range 4000-7000 but y starts at 0

0 commit comments

Comments
 (0)