Skip to content

Commit

Permalink
style(model): update docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
devang-chauhan committed Feb 15, 2022
1 parent 0b74250 commit 22632a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions honeybee_vtk/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
def _camera_to_grid_actor(actor: Actor, data_name: str, zoom: int = 2,
auto_zoom: bool = True, camera_offset: int = 3,
clipping_range: Tuple[int, int] = (0, 4), ) -> Camera:
"""Create a Camera for each grid actor.
"""Create a Camera for a grid actor.
This function uses the center point of a grid actor to create a camera that is
setup at the camera_offset distance from the center point.
Expand All @@ -74,7 +74,7 @@ def _camera_to_grid_actor(actor: Actor, data_name: str, zoom: int = 2,
clipping_range: The clipping range of the camera. Defaults to (100, 101).
Returns:
A list of cameras.
A Camera object.
"""

cent_pt = actor.centroid
Expand Down

0 comments on commit 22632a6

Please sign in to comment.