Skip to content

Commit

Permalink
Fix for black
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Mar 23, 2023
1 parent 31b075a commit 255c9de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion imgviz/_io/_pyglet/pyglet_imshow.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ def _pyglet_imshow_list(images, caption=None, interval=0.5, keymap=None):
# type: (typing.List[np.ndarray], typing.Optional[str], float, typing.Optional[typing.Callable]) -> None # NOQA
pyglet = check_pyglet_available()

max_image_width, max_image_height = np.max([image.size for image in images], axis=0)
max_image_width, max_image_height = np.max(
[image.size for image in images], axis=0
)
aspect_ratio = max_image_width / max_image_height

index = 0
Expand Down

0 comments on commit 255c9de

Please sign in to comment.