Return the location on the axis pane underneath the cursor as a string.
(self, xv, yv, renderer)
| 1651 | return coords |
| 1652 | |
| 1653 | def _location_coords(self, xv, yv, renderer): |
| 1654 | """ |
| 1655 | Return the location on the axis pane underneath the cursor as a string. |
| 1656 | """ |
| 1657 | p1, pane_idx = self._calc_coord(xv, yv, renderer) |
| 1658 | xs = self.format_xdata(p1[0]) |
| 1659 | ys = self.format_ydata(p1[1]) |
| 1660 | zs = self.format_zdata(p1[2]) |
| 1661 | if pane_idx == 0: |
| 1662 | coords = f'x pane={xs}, y={ys}, z={zs}' |
| 1663 | elif pane_idx == 1: |
| 1664 | coords = f'x={xs}, y pane={ys}, z={zs}' |
| 1665 | elif pane_idx == 2: |
| 1666 | coords = f'x={xs}, y={ys}, z pane={zs}' |
| 1667 | return coords |
| 1668 | |
| 1669 | def _get_camera_loc(self): |
| 1670 | """ |
no test coverage detected