Skip to content

Commit

Permalink
Added IPythonViewer docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Mar 3, 2021
1 parent 5e0a4ac commit 7b09463
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PIL/ImageShow.py
Expand Up @@ -227,6 +227,8 @@ def get_command_ex(self, file, title=None, **options):


class IPythonViewer(Viewer):
"""The viewer for IPython frontends."""

def show_image(self, image, **options):
ipython_display(image)
return 1
Expand Down

0 comments on commit 7b09463

Please sign in to comment.