Raster vs vector formats for saving Matplotlib figures: when to use SVG or PDF versus PNG or JPEG
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks how raster and vector image formats differ when saving Matplotlib figures and when to pick SVG or PDF over PNG or JPEG. Tests practical plotting judgment about resolution, file size for dense data, print quality and mixing both kinds in one figure.