When would you use imshow, and how do colormap and interpolation choices affect how an array or image is displayed?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks when Matplotlib's imshow is the right way to display an array or image, and how colormap and interpolation settings change what a viewer sees. Tests choosing sequential versus diverging colormaps, fixing value ranges, avoiding misleading smoothing, and handling origin and aspect.