Skip to content

Commit b02a6a9

Browse files
committed
styling
1 parent f478aa4 commit b02a6a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mltu/annotations/images.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ def update(self, image: np.ndarray):
144144
else:
145145
raise TypeError(f"image must be numpy.ndarray, not {type(image)}")
146146

147-
148147
def flip(self, axis: int = 0):
149148
""" Flip image along x or y axis
150149
@@ -203,7 +202,7 @@ def __init__(
203202

204203
@property
205204
def is_animated(self) -> bool:
206-
return (hasattr(self._image, 'is_animated') and self._image.is_animated)
205+
return hasattr(self._image, 'is_animated') and self._image.is_animated
207206

208207
@property
209208
def image(self) -> np.ndarray:

0 commit comments

Comments
 (0)