Only show "outer" labels and tick labels. x-labels are only kept for subplots on the last row (or first row, if labels are on the top side); y-labels only for subplots on the first column (or last column, if labels are on the right side). Parameters
(self, remove_inner_ticks=False)
| 4946 | return cbook.GrouperView(cls._shared_axes["y"]) |
| 4947 | |
| 4948 | def label_outer(self, remove_inner_ticks=False): |
| 4949 | """ |
| 4950 | Only show "outer" labels and tick labels. |
| 4951 | |
| 4952 | x-labels are only kept for subplots on the last row (or first row, if |
| 4953 | labels are on the top side); y-labels only for subplots on the first |
| 4954 | column (or last column, if labels are on the right side). |
| 4955 | |
| 4956 | Parameters |
| 4957 | ---------- |
| 4958 | remove_inner_ticks : bool, default: False |
| 4959 | If True, remove the inner ticks as well (not only tick labels). |
| 4960 | |
| 4961 | .. versionadded:: 3.8 |
| 4962 | """ |
| 4963 | self._label_outer_xaxis(skip_non_rectangular_axes=False, |
| 4964 | remove_inner_ticks=remove_inner_ticks) |
| 4965 | self._label_outer_yaxis(skip_non_rectangular_axes=False, |
| 4966 | remove_inner_ticks=remove_inner_ticks) |
| 4967 | |
| 4968 | def _get_subplotspec_with_optional_colorbar(self): |
| 4969 | """ |