SubplotSpec¶
-
class
SubplotSpec
(gridspec, num1, num2=None)[source]¶ Bases:
matplotlib.gridspec.SubplotSpec
Adds two helper methods to
SubplotSpec
that return the geometry excluding rows and columns allocated for spaces.Methods Summary
Returns the number of rows, number of columns, and 1D subplot location indices, ignoring rows and columns allocated for spaces.
Returns the number of rows, number of columns, first subplot row, last subplot row, first subplot column, and last subplot column, ignoring rows and columns allocated for spaces.