Mark a single axis, or all of them, as stale wrt. autoscaling. No computation is performed until the next autoscaling; thus, separate calls to control individual `Axis`s incur negligible performance cost. Parameters ---------- axis : str, default: "
(self, axis="all", tight=None)
| 912 | return self._viewLim |
| 913 | |
| 914 | def _request_autoscale_view(self, axis="all", tight=None): |
| 915 | """ |
| 916 | Mark a single axis, or all of them, as stale wrt. autoscaling. |
| 917 | |
| 918 | No computation is performed until the next autoscaling; thus, separate |
| 919 | calls to control individual `Axis`s incur negligible performance cost. |
| 920 | |
| 921 | Parameters |
| 922 | ---------- |
| 923 | axis : str, default: "all" |
| 924 | Either an element of ``self._axis_names``, or "all". |
| 925 | tight : bool or None, default: None |
| 926 | """ |
| 927 | axis_names = _api.getitem_checked( |
| 928 | {**{k: [k] for k in self._axis_names}, "all": self._axis_names}, |
| 929 | axis=axis) |
| 930 | for name in axis_names: |
| 931 | self._stale_viewlims[name] = True |
| 932 | if tight is not None: |
| 933 | self._tight = tight |
| 934 | |
| 935 | def _set_lim_and_transforms(self): |
| 936 | """ |
no outgoing calls
no test coverage detected