def show_annot_image(ibs, aid, *args, **kwargs): """ viz helper see ibeis.viz.viz_chip.show_chip """ from ibeis.viz import viz_image gid = ibs.get_annot_gids(aid) return viz_image.show_image(ibs, gid, *args, **kwargs)
def show(self, *args, **kwargs): if len(self) != 1: raise ValueError('Can only show one, got {}'.format(len(self))) from ibeis.viz import viz_image for gid in self: return viz_image.show_image(self._ibs, gid, *args, **kwargs)