MCPcopy Create free account
hub / github.com/Image-Py/imagepy / show_img

Function show_img

imagepy/IPy.py:75–80  ·  view source on GitHub ↗
(imgs, title)

Source from the content-addressed store, hash-verified

73
74pub.subscribe(showimg, 'showimg')
75def show_img(imgs, title):
76 if uimode()=='no':
77 from .core import manager, ImagePlus
78 from .ui.canvasframe import VirturlCanvas
79 frame = VirturlCanvas(ImagePlus(imgs, title))
80 else:wx.CallAfter(pub.sendMessage, 'showimg', imgs=imgs, title=title)
81
82def reloadplgs(report=False, menus=True, tools=False, widgets=False):
83 print('reload........')

Callers

nothing calls this directly

Calls 3

uimodeFunction · 0.85
VirturlCanvasClass · 0.85
ImagePlusClass · 0.85

Tested by

no test coverage detected