code: def images(arrays, labels=None, domain=None, w=None):
    
  
    s = '<div style="display: flex; flex-direction: row;">'
    for i, array in enumerate(arrays):
      url = _image_url(array)
      label = labels[i] if labels is not None else i
      s += """<div style="margin-right:10px;">
                {label}<br/>
                <img src="{url}" style="margin-top:4px;">
              </div>""".format(label=label, url=url)
    s += "</div>"
    _display_html(s)
docs: Display a list of images with optional labels.
  
    Args:
      arrays: A list of NumPy arrays representing images
      labels: A list of strings to label each image.
        Defaults to show index if None
      domain: Domain of pixel values, inferred from min & max values if None
      w: width of output image, scaled using nearest neighbor interpolation.
        size unchanged if None