Skip to content

Commit eb8089e

Browse files
feat(plotly): implement heatmap-basic (#1381)
## Implementation: `heatmap-basic` - plotly Implements the **plotly** version of `heatmap-basic`. **File:** `plots/heatmap-basic/implementations/plotly.py` --- :robot: *[impl-generate workflow](https://github.com/MarkusNeusinger/pyplots/actions/runs/20447950554)* --------- 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 f8bd65d commit eb8089e

2 files changed

Lines changed: 19 additions & 9 deletions

File tree

plots/heatmap-basic/implementations/plotly.py

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

77
import numpy as np
Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,27 @@
11
library: plotly
22
specification_id: heatmap-basic
3-
created: 2025-12-14 09:13:47+00:00
4-
updated: 2025-12-14 09:13:47+00:00
3+
created: '2025-12-23T00:46:03Z'
4+
updated: '2025-12-23T00:49:55Z'
55
generated_by: claude-opus-4-5-20251101
6-
workflow_run: 20205725012
7-
issue: 691
6+
workflow_run: 20447950554
7+
issue: 0
88
python_version: 3.13.11
99
library_version: 6.5.0
1010
preview_url: https://storage.googleapis.com/pyplots-images/plots/heatmap-basic/plotly/plot.png
1111
preview_thumb: https://storage.googleapis.com/pyplots-images/plots/heatmap-basic/plotly/plot_thumb.png
1212
preview_html: https://storage.googleapis.com/pyplots-images/plots/heatmap-basic/plotly/plot.html
13-
quality_score: 94
13+
quality_score: 92
1414
review:
15-
strengths: []
16-
weaknesses: []
17-
improvements: []
15+
strengths:
16+
- Excellent text legibility with well-chosen font sizes for all elements
17+
- 'Perfect implementation of spec requirements: diverging colormap, cell annotations,
18+
and colorbar'
19+
- Realistic business scenario with seasonal patterns visible in the data
20+
- Clean KISS code structure following plotly library guidelines exactly
21+
- Good use of RdBu_r colormap which is colorblind-accessible
22+
weaknesses:
23+
- Axis labels could be more descriptive (e.g., "Product Category" instead of just
24+
"Category")
25+
- Colorbar title could include more context (e.g., "Monthly Sales ($K)")
26+
- Could leverage additional Plotly features like custom hover templates for enhanced
27+
interactivity

0 commit comments

Comments
 (0)