What do bbox_inches='tight' and transparent do in savefig, and when would you use them?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks what the bbox_inches='tight' and transparent options do when saving a Matplotlib figure with savefig, and when each one is the right choice. Tests practical knowledge of clipped labels, output image size, file formats and how plots look on different backgrounds.