(self)
| 1554 | vertical_axis=vertical_axis, share=True) |
| 1555 | |
| 1556 | def clear(self): |
| 1557 | # docstring inherited. |
| 1558 | super().clear() |
| 1559 | if self._focal_length == np.inf: |
| 1560 | self._zmargin = mpl.rcParams['axes.zmargin'] |
| 1561 | else: |
| 1562 | self._zmargin = 0. |
| 1563 | |
| 1564 | xymargin = 0.05 * 10/11 # match mpl3.8 appearance |
| 1565 | self.xy_dataLim = Bbox([[xymargin, xymargin], |
| 1566 | [1 - xymargin, 1 - xymargin]]) |
| 1567 | # z-limits are encoded in the x-component of the Bbox, y is un-used |
| 1568 | self.zz_dataLim = Bbox.unit() |
| 1569 | self._view_margin = 1/48 # default value to match mpl3.8 |
| 1570 | self.autoscale_view() |
| 1571 | |
| 1572 | self.grid(mpl.rcParams['axes3d.grid']) |
| 1573 | |
| 1574 | def _button_press(self, event): |
| 1575 | if event.inaxes == self: |
nothing calls this directly
no test coverage detected