Generate Clean Matplotlib Chart Code
Describe your DataFrame's columns and sample rows, list up to four charts you need, and specify a color palette, figure size, and where the charts will be viewed — slides, web, or print. The prompt returns complete, runnable matplotlib and seaborn code for all four charts at once, each with a descriptive title, labeled axes with units, a legend only when needed, and annotations calling out key data points, without unnecessary chartjunk.
Generate Python code for the following charts: Data structure: {dataframe_description} Charts needed: 1. {chart_1} 2. {chart_2} 3. {chart_3} 4. {chart_4} Style requirements: - Color palette: {color_palette} - Figure size: {figure_size} - Font sizes legible in {output_medium} - Clean, minimal look (no chartjunk) Produce complete, runnable matplotlib and seaborn code. Every chart should have: - A descriptive title - Axis labels with units - A legend only when it's actually needed - Gridlines only if they improve readability - Annotations calling out key data points