imagecluster.postproc.plot_clusters

imagecluster.postproc.plot_clusters(clusters, images, max_csize=None, mem_limit=1073741824)[source]

Plot clusters of images in images.

For interactive work, use visualize() instead.

Parameters:

clusters : see cluster()

images : see read_images()

max_csize : int

plot clusters with at most this many images

mem_limit : float or int, bytes

hard memory limit for the plot array (default: 1 GiB), increase if you have (i) enough memory, (ii) many clusters and/or (iii) large max(csize) and (iv) max_csize is large or None