Avoid implying that _show always uses xv

This commit is contained in:
Andrew Murray 2020-06-14 14:38:56 +10:00
parent 41a75210b5
commit 1b4e928c91

View File

@ -3142,13 +3142,12 @@ def register_encoder(name, encoder):
def _show(image, **options):
# override me, as necessary
_showxv(image, **options)
def _showxv(image, title=None, **options):
from . import ImageShow
ImageShow.show(image, title, **options)
ImageShow.show(image, **options)
_showxv = _show
# --------------------------------------------------------------------