image_matrix() function arranges a set of images in a grid.
Dimensions of the image grid are determined by the shape of the input 2D
Elements of the input 2D ndarray are images specified by a
ndarrays with shape (n, m) or (n, m, 3) or (n, m, 4).
image_matrix() function uses
geom_image under the hood, so you might want to check out these demos as well:
import numpy as np from lets_plot import * from lets_plot.bistro.im import image_matrix LetsPlot.setup_html()