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
22violin-basic: Basic Violin Plot
33Library: matplotlib 3.10.8 | Python 3.13.11
4- Quality: 92/100 | Created: 2025-12-14
4+ Quality: 92/100 | Created: 2025-12-23
55"""
66
77import matplotlib .pyplot as plt
5353ax .set_xticks (range (len (categories )))
5454ax .set_xticklabels (categories )
5555ax .set_xlabel ("School" , fontsize = 20 )
56- ax .set_ylabel ("Test Score" , fontsize = 20 )
56+ ax .set_ylabel ("Test Score (points) " , fontsize = 20 )
5757ax .set_title ("violin-basic · matplotlib · pyplots.ai" , fontsize = 24 )
5858ax .tick_params (axis = "both" , labelsize = 16 )
5959ax .grid (True , alpha = 0.3 , linestyle = "--" , axis = "y" )
Original file line number Diff line number Diff line change 11library : matplotlib
22specification_id : violin-basic
3- created : 2025-12-14 09:50:11+00:00
4- updated : 2025-12-14 09:50:11+00:00
3+ created : ' 2025-12-23T00:35:08Z '
4+ updated : ' 2025-12-23T00:38:15Z '
55generated_by : claude-opus-4-5-20251101
6- workflow_run : 20206149623
7- issue : 722
6+ workflow_run : 20447775895
7+ issue : 0
88python_version : 3.13.11
99library_version : 3.10.8
1010preview_url : https://storage.googleapis.com/pyplots-images/plots/violin-basic/matplotlib/plot.png
1111preview_thumb : https://storage.googleapis.com/pyplots-images/plots/violin-basic/matplotlib/plot_thumb.png
1212preview_html : null
1313quality_score : 92
1414review :
15- strengths : []
16- weaknesses : []
17- improvements : []
15+ strengths :
16+ - Excellent data scenario with test scores across schools - immediately comprehensible
17+ - Clear visual hierarchy with yellow median lines contrasting well against blue
18+ violins
19+ - Proper quartile visualization with IQR bars inside violins
20+ - Text sizes perfectly calibrated for 4800x2700 output
21+ - Good variation in distributions showing different spread and center characteristics
22+ weaknesses :
23+ - Test score values exceeding 100 are unrealistic for typical percentage-based scoring
24+ - Could use matplotlib built-in quartile visualization (showquartiles parameter)
25+ instead of manual vlines
26+ - Missing legend element (though not critical for this plot type)
You can’t perform that action at this time.
0 commit comments