def run(self, para=None):
frame = ShellFrame(IPy.curapp, locals=cmds)
frame.shell.run('# numpy(np) and scipy.ndimage(ndimg) has been imported!\n')
frame.shell.run('# plgs.run_name() to call a ImagePy plugin.\n')
frame.shell.run('# IPy is avalible here, and curips() to get the current ImagePlus, update() to redraw.\n')
frame.Show(True)
评论列表
文章目录