GridSpec.__getitem__¶
- GridSpec.__getitem__(key)[source]¶
Get a
SubplotSpec
. “Hidden” slots allocated for axes panels, colorbars, and legends are ignored. For example, given a gridspec with 2 subplot rows, 3 subplot columns, and a “panel” row between the subplot rows, callinggs[1, 1]
returns aSubplotSpec
corresponding to the central subplot on the second row rather than a “panel” slot.