show

show

skimage.io.show() [source]

Display pending images.

Launch the event loop of the current gui plugin, and display all pending images, queued via imshow. This is required when using imshow from non-interactive scripts.

A call to show will block execution of code until all windows have been closed.

Examples

1
>>> import skimage.io as io
1
2
3
>>> for i in range(4):
...     ax_im = io.imshow(np.random.rand(50, 50))
>>> io.show()
doc_scikit_image
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.