How do you add reference lines and shaded spans (axhline, axvspan) to a Matplotlib chart, and why use them?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to add reference lines and shaded spans such as axhline and axvspan to a Matplotlib chart and why they help a reader. Tests knowledge of the plotting calls and their coordinate systems, layering and labeling, and how benchmarks turn a chart into a clear comparison.