zetta_utils.widgets

zetta_utils.viz.widgets.visualize_list(entries, grid_size=1, grid_x=0, grid_y=0, renderer=None)[source]

Interactive visualizer for a list of images.

Parameters
  • entries – A list of images to be visualized. Images will be squeezed before being rendered.

  • grid_size – The input image will be broken into a uniform grid, and only one cell of that grid will be shown at a time. grid_size determines how many pieces the image will be broken into long each dimension. When grid_size == 1 the whole image will be shown, when grid_size == 2 the image will be broken into 4 equally sized rectangles, etc.

  • grid_x – Default position on the X axis of the grid.

  • grid_y – Default position on the Y axis of the grid.