File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11""" pyplots.ai
22heatmap-basic: Basic Heatmap
33Library: 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
77import numpy as np
Original file line number Diff line number Diff line change 11library : plotly
22specification_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 '
55generated_by : claude-opus-4-5-20251101
6- workflow_run : 20205725012
7- issue : 691
6+ workflow_run : 20447950554
7+ issue : 0
88python_version : 3.13.11
99library_version : 6.5.0
1010preview_url : https://storage.googleapis.com/pyplots-images/plots/heatmap-basic/plotly/plot.png
1111preview_thumb : https://storage.googleapis.com/pyplots-images/plots/heatmap-basic/plotly/plot_thumb.png
1212preview_html : https://storage.googleapis.com/pyplots-images/plots/heatmap-basic/plotly/plot.html
13- quality_score : 94
13+ quality_score : 92
1414review :
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
You can’t perform that action at this time.
0 commit comments