mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-23 05:34:45 +03:00
Avoid implying that _show always uses xv
This commit is contained in:
parent
41a75210b5
commit
1b4e928c91
|
@ -3142,13 +3142,12 @@ def register_encoder(name, encoder):
|
||||||
|
|
||||||
def _show(image, **options):
|
def _show(image, **options):
|
||||||
# override me, as necessary
|
# override me, as necessary
|
||||||
_showxv(image, **options)
|
|
||||||
|
|
||||||
|
|
||||||
def _showxv(image, title=None, **options):
|
|
||||||
from . import ImageShow
|
from . import ImageShow
|
||||||
|
|
||||||
ImageShow.show(image, title, **options)
|
ImageShow.show(image, **options)
|
||||||
|
|
||||||
|
|
||||||
|
_showxv = _show
|
||||||
|
|
||||||
|
|
||||||
# --------------------------------------------------------------------
|
# --------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user