Skip to content

Commit 7c3e8cc

Browse files
committed
Aspect ratio should be a float.
1 parent 78250b3 commit 7c3e8cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/_config/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@ def pixel_height(self, value: int) -> None:
11041104
self._set_pos_number("pixel_height", value, False)
11051105

11061106
@property
1107-
def aspect_ratio(self) -> int:
1107+
def aspect_ratio(self) -> float:
11081108
"""Aspect ratio (width / height) in pixels (--resolution, -r)."""
11091109
return self._d["pixel_width"] / self._d["pixel_height"]
11101110

0 commit comments

Comments
 (0)