Apply suggestions from code review

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Ishant Mrinal Haloi 2023-05-06 10:31:58 +05:30 committed by GitHub
parent 5377b0735f
commit 2d841e16c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,7 +637,7 @@ class Image:
"""iPython display hook support """iPython display hook support
:param format: Image format. :param format: Image format.
:returns: png version of the image as bytes :returns: image as bytes, saved into the given format.
""" """
b = io.BytesIO() b = io.BytesIO()
try: try: