When should you use Matplotlib Pyplot or the object-oriented API?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how Matplotlib's state-based Pyplot interface differs from its object-oriented Figure and Axes API, and when to pick each one. Tests whether you can explain hidden plotting state and write maintainable multi-panel and reusable plotting code in Python.