Override transScale to always use identity transforms. In 2D axes, transScale applies scale transforms (log, symlog, etc.) to convert data coordinates to display coordinates. In 3D axes, scale transforms are applied to data coordinates before 3D projection via
(self)
| 279 | return np.column_stack(proj3d._proj_trans_points(xyzs, self.M)) |
| 280 | |
| 281 | def _update_transScale(self): |
| 282 | """ |
| 283 | Override transScale to always use identity transforms. |
| 284 | |
| 285 | In 2D axes, transScale applies scale transforms (log, symlog, etc.) to |
| 286 | convert data coordinates to display coordinates. In 3D axes, scale |
| 287 | transforms are applied to data coordinates before 3D projection via |
| 288 | each axis's transform. The projected 2D coordinates are already in |
| 289 | display space, so transScale must be identity to avoid double-scaling. |
| 290 | """ |
| 291 | self.transScale.set( |
| 292 | mtransforms.blended_transform_factory( |
| 293 | mtransforms.IdentityTransform(), |
| 294 | mtransforms.IdentityTransform())) |
| 295 | |
| 296 | @_api.delete_parameter("3.11", "share") |
| 297 | @_api.delete_parameter("3.11", "anchor") |