Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
imgviz.io.pyglet_imshow(next(get_images()), "ndarray")
imgviz.io.pyglet_run()
imgviz.io.pyglet_imshow(get_images(), "generator")
imgviz.io.pyglet_run()
imgviz.io.pyglet_imshow(list(get_images()), "list")
imgviz.io.pyglet_run()
def main():
imgviz.io.pyglet_imshow(next(get_images()), "ndarray")
imgviz.io.pyglet_run()
imgviz.io.pyglet_imshow(get_images(), "generator")
imgviz.io.pyglet_run()
imgviz.io.pyglet_imshow(list(get_images()), "list")
imgviz.io.pyglet_run()
def main():
imgviz.io.pyglet_imshow(next(get_images()), "ndarray")
imgviz.io.pyglet_run()
imgviz.io.pyglet_imshow(get_images(), "generator")
imgviz.io.pyglet_run()
imgviz.io.pyglet_imshow(list(get_images()), "list")
imgviz.io.pyglet_run()