Might be possible to do more efficient axes computation by directly using the camera projection matrix, currently doing this in PlotArea:
@property
def x_range(self) -> tuple[float, float]:
"""
Get or set the x-range currently in view.
Only valid for orthographic projections of the xy plane.
Use camera.set_state() to set the camera position for arbitrary projections.
"""
hw = self.camera.projection_matrix_inverse[0, 0]
x = self.camera.local.x
return x - hw, x + hw
Might be possible to do more efficient axes computation by directly using the camera projection matrix, currently doing this in
PlotArea: