@@ -38,6 +38,26 @@ class Grid:
38
38
displayed with a given aspect ratio; for example, it is difficult to
39
39
display multiple images of a same size with some fixed padding between
40
40
them. AxesGrid can be used in such case.
41
+
42
+ Attributes
43
+ ----------
44
+ axes_all : list of Axes
45
+ A flat list of Axes. Note that you can also access this directly
46
+ from the grid. The following is equivalent ::
47
+
48
+ grid[i] == grid.axes_all[i]
49
+ len(grid) == len(grid.axes_all)
50
+
51
+ axes_column : list of list of Axes
52
+ A 2D list of Axes where the first index is the column. This results
53
+ in the usage pattern ``grid.axes_column[col][row]``.
54
+ axes_row : list of list of Axes
55
+ A 2D list of Axes where the first index is the row. This results
56
+ in the usage pattern ``grid.axes_row[row][col]``.
57
+ axes_llc : Axes
58
+ The Axes in the lower left corner.
59
+ ngrids : int
60
+ Number of Axes in the grid.
41
61
"""
42
62
43
63
_defaultAxesClass = Axes
@@ -93,7 +113,8 @@ def __init__(self, fig,
93
113
- "all": All axes are labelled.
94
114
- "keep": Do not do anything.
95
115
96
- axes_class : subclass of `matplotlib.axes.Axes`, default: None
116
+ axes_class : subclass of `matplotlib.axes.Axes`, default: `.mpl_axes.Axes`
117
+ The type of Axes to create.
97
118
aspect : bool, default: False
98
119
Whether the axes aspect ratio follows the aspect ratio of the data
99
120
limits.
0 commit comments