Convert a point from transformed coordinates to data coordinates. Parameters ---------- x, y, z : float A single point in transformed coordinates. Returns ------- x_data, y_data, z_data : float The point in data coord
(self, x, y, z)
| 1377 | return xmin, xmax, ymin, ymax, zmin, zmax |
| 1378 | |
| 1379 | def _untransform_point(self, x, y, z): |
| 1380 | """ |
| 1381 | Convert a point from transformed coordinates to data coordinates. |
| 1382 | |
| 1383 | Parameters |
| 1384 | ---------- |
| 1385 | x, y, z : float |
| 1386 | A single point in transformed coordinates. |
| 1387 | |
| 1388 | Returns |
| 1389 | ------- |
| 1390 | x_data, y_data, z_data : float |
| 1391 | The point in data coordinates. |
| 1392 | """ |
| 1393 | x_data = self.xaxis.get_transform().inverted().transform([x])[0] |
| 1394 | y_data = self.yaxis.get_transform().inverted().transform([y])[0] |
| 1395 | z_data = self.zaxis.get_transform().inverted().transform([z])[0] |
| 1396 | return x_data, y_data, z_data |
| 1397 | |
| 1398 | def _set_lims_from_transformed(self, xmin_t, xmax_t, ymin_t, ymax_t, |
| 1399 | zmin_t, zmax_t): |
no test coverage detected