command option for Image.Image.show() was not supported, but was in documentation

This commit is contained in:
Graham Scheaffer 2018-02-11 15:26:13 -06:00
parent 5fa7791777
commit abd9029279

View File

@ -1954,7 +1954,7 @@ class Image(object):
if frame != 0:
raise EOFError
def show(self, title=None, command=None):
def show(self, title=None):
"""
Displays this image. This method is mainly intended for
debugging purposes.
@ -1971,10 +1971,9 @@ class Image(object):
:param title: Optional title to use for the image window,
where possible.
:param command: command used to show the image
"""
_show(self, title=title, command=command)
_show(self, title=title)
def split(self):
"""