How do you deal with API changes and deprecations across Matplotlib versions in a shared codebase?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how a team keeps shared Matplotlib plotting code working as the library renames and removes APIs between versions. Tests version pinning, CI across supported versions, catching deprecation warnings before removal, and isolating version-specific code in one place.