Scientific Figure Generation Generate publication-quality figures for research papers. Input - — Description of the desired figure - — (Optional) Path to data file (CSV, JSON, NPY, PKL) or results directory Scripts Generate figure template Available types: , , , , , , , , , Three-Phase Pipeline (from MatPlotAgent) Phase 1: Query Expansion Expand the user's figure description into step-by-step coding specifications using the prompts in . Determine: figure type, data mapping (x/y/color/hue), style requirements, paper conventions. Phase 2: Code Generation with Execution Loop (up to 4 retries) 1.…