@convert_params
@add_to_queue
def show_image(self, image, name=None, title=None, caption=None, env_appendix="", opts=None, **kwargs):
Displays an image in a window/pane at the visdom server
Args:
image: The image array to be displayed
name: The name of the image window
title: The title of the image window
caption: The of the image, displayed in the window
env_appendix: appendix to the environment name, if used the new env is env+env_appendix
opts: opts dict for the ploty/ visdom plot, i.e. can set window size, en/disable ticks,...
if opts is None:
opts = {}
opts = opts.copy()opts.update(dict(
title=title,
caption=caption
))win = self.vis.image(
img=image,
win=name,
env=self.name + env_appendix,
opts=opts
)return win
@convert_params
@add_to_queue
def show_images(self, images, name=None, title=None, caption=None, env_appendix="", opts=None, **kwargs):