feat(plotly): implement quiver-basic#9758
Conversation
Regen from quality 80. Addressed:
- arrow lines were hardcoded to legacy Python-Blue (#306998); now use
Imprint BRAND (#009E73), always the first series color
- continuous wind-speed color used non-compliant Viridis; now uses the
Imprint sequential cmap (green -> blue)
- code never read ANYPLOT_THEME and saved to plot.png/plot.html; now
reads the env var, applies theme-adaptive chrome (title/axis/tick/grid
colors, backgrounds), and saves plot-{theme}.png/.html
- canvas was 4800x2700 (non-canonical); switched to the canonical square
2400x2400 format, which also fixes the wasted x-axis range (-4..4 for
a +-2 data range) since a 1:1 aspect-locked radially symmetric vortex
has no preferred horizontal axis
- axis labels lacked units; added "(km)" and gave the plot a concrete
scenario (cyclonic wind vortex, wind speed in m/s)
- title fixed to the canonical "{descriptive} - {spec-id} - {language} -
{library} - anyplot.ai" format with length-scaled fontsize
- fixed a latent correctness bug: the true zero-magnitude vortex centre
was overwritten to 1 before being used for marker color, misrepresenting
the colorbar; now only the division-safe copy is patched
Preserved strengths: ff.create_quiver + go.Scatter magnitude overlay,
15x15 grid density, scale_factor calibration, aspect-ratio lock for
correct vector geometry.
AI Review - Attempt 1/3Image Description
Score: 82/100
Visual Quality (27/30)
Design Excellence (13/20)
Spec Compliance (13/15)
Data Quality (12/15)
Code Quality (10/10)
Library Mastery (7/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: REJECTED |
Attempt 1/4 - fixes based on AI review
🔧 Repair Attempt 1/4Applied fixes based on AI review feedback. Status: Repair completed, re-triggering review... |
AI Review - Attempt 2/3Image Description
Score: 76/100
Visual Quality (26/30)
Design Excellence (12/20)
Spec Compliance (12/15)
Data Quality (10/15)
Code Quality (10/10)
Library Mastery (6/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: REJECTED |
Attempt 2/4 - fixes based on AI review
🔧 Repair Attempt 2/4Applied fixes based on AI review feedback. Status: Repair completed, re-triggering review... |
AI Review - Attempt 3/3Image Description
Score: 85/100
Visual Quality (27/30)
Design Excellence (13/20)
Spec Compliance (15/15)
Data Quality (14/15)
Code Quality (9/10)
Library Mastery (7/10)
Score Caps Applied
Strengths
Weaknesses
Issues Found
AI Feedback for Next Attempt
Verdict: APPROVED |
Implementation:
quiver-basic- python/plotlyImplements the python/plotly version of
quiver-basic.File:
plots/quiver-basic/implementations/python/plotly.pyParent Issue: #1014
🤖 impl-generate workflow