@@ -1050,31 +1050,21 @@ def subplots(nrows=1, ncols=1, sharex=False, sharey=False, squeeze=True,
1050
1050
nrows, ncols : int, optional, default: 1
1051
1051
Number of rows/columns of the subplot grid.
1052
1052
1053
- sharex : {"none", "all", "row", "col"} or bool, default: False
1054
- - If True, the x-axis will be shared amongst all subplots.
1055
- - If False, no x-axis will be shared amongst subplots.
1056
- - If a string must be one of "row", "col", "all", or "none".
1057
- - "all" has the same effect as True.
1058
- - "none" has the same effect as False.
1059
- - If "row", each subplot row will share an x-axis.
1060
- - If "col", each subplot column will share an x-axis.
1061
-
1062
- Note that if the x-axis is shared across rows (sharex=True or
1063
- sharex="col"), then the x tick labels will only be display on subplots
1064
- of the bottom row.
1065
-
1066
- sharey : {"none", "all", "row", "col"} or bool, default: False
1067
- - If True, the y-axis will be shared amongst all subplots.
1068
- - If False, no y-axis will be shared amongst subplots.
1069
- - If a string must be one of "row", "col", "all", or "none".
1070
- - "all" has the same effect as True.
1071
- - "none" has the same effect as False.
1072
- - If "row", each subplot row will share a y-axis.
1073
- - If "col", each subplot column will share an y-axis
1074
-
1075
- Note that if the y-axis is shared across columns (sharey=True or
1076
- sharey="col"), then the y tick labels will only be displayed on
1077
- subplots of the first column.
1053
+ sharex, sharey : bool or {'none', 'all', 'row', 'col'}, default: False
1054
+ Controls sharing of properties among x (`sharex`) or y (`sharey`)
1055
+ axes:
1056
+
1057
+ - True or 'all': x- or y-axis will be shared among all
1058
+ subplots.
1059
+ - False or 'none': each subplot x- or y-axis will be
1060
+ independent.
1061
+ - 'row': each subplot row will share an x- or y-axis.
1062
+ - 'col': each subplot column will share an x- or y-axis.
1063
+
1064
+ When subplots have a shared x-axis along a column, only the x tick
1065
+ labels of the bottom subplot are visible. Similarly, when subplots
1066
+ have a shared y-axis along a row, only the y tick labels of the first
1067
+ column subplot are visible.
1078
1068
1079
1069
squeeze : bool, optional, default: True
1080
1070
- If True, extra dimensions are squeezed out from the returned Axes
0 commit comments