We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f478aa4 commit b02a6a9Copy full SHA for b02a6a9
mltu/annotations/images.py
@@ -144,7 +144,6 @@ def update(self, image: np.ndarray):
144
else:
145
raise TypeError(f"image must be numpy.ndarray, not {type(image)}")
146
147
-
148
def flip(self, axis: int = 0):
149
""" Flip image along x or y axis
150
@@ -203,7 +202,7 @@ def __init__(
203
202
204
@property
205
def is_animated(self) -> bool:
206
- return (hasattr(self._image, 'is_animated') and self._image.is_animated)
+ return hasattr(self._image, 'is_animated') and self._image.is_animated
207
208
209
def image(self) -> np.ndarray:
0 commit comments