How do you show several Matplotlib plots in one figure with aligned x-axes and shared limits?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to stack several Matplotlib plots in one figure so their x-axes share limits and line up exactly for comparison. Tests knowledge of shared axes in subplots, layout engines, tick label handling and the details that keep plot areas aligned.