Skip to content

Commit

Permalink
Clarify camera distance (#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstansby committed Dec 15, 2021
1 parent d902ae6 commit a2e9f58
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyvista/plotting/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ def is_parallel_projection(self):

@property
def distance(self):
"""Return or set the distance from the camera position to the focal point.
"""Return or set the distance of the focal point from the camera.
Notes
-----
Setting the distance keeps the camera fixed and moves the focal point.
Examples
--------
Expand Down

0 comments on commit a2e9f58

Please sign in to comment.