Regen from quality 86. Addressed:
- label crowding on left side (390-440 cluster) — redesigned Q1/Q4 data with
a strict ~90-unit minimum gap between adjacent values on both sides, plus
smaller entity-label fontSize (16 -> 11) matching style-guide tick sizing
- canvas dims 1400x850 below target — moved to canonical altair inner-view
(width=620, height=320, scale_factor=4.0) with PIL pad-to-3200x1800 per
the library's hard canvas rule
- full rectangular border instead of L-shaped frame — configure_view
strokeWidth=0, keeping only the axis domain lines (bottom + left)
- title missing the mandated {language} token — now
"slope-basic · python · altair · anyplot.ai"
- font sizes across axis/legend/title brought in line with the current
scale-based Visual Sizing Defaults table
Kept: semantic directional color encoding (green/red), layer composition
structure, detail encoding, Okabe-Ito-derived Imprint palette usage.
Implementation:
slope-basic- python/altairImplements the python/altair version of
slope-basic.File:
plots/slope-basic/implementations/python/altair.pyParent Issue: #981
🤖 impl-generate workflow