

def imshow(axes, X, cmap=None, norm=None, aspect=None, interpolation=None, alpha=None, vmin=None, vmax=None, origin=None, extent=None, shape=None, filternorm=1, filterrad=4.0, imlim=None, resample=None, url=None, **kwargs):
    "Similar to matplotlib's imshow command, but produces a ModestImage\n\n    Unlike matplotlib version, must explicitly specify axes\n    "
    if (not axes._hold):
        norm.cla()
    if (norm is not None):
        assert isinstance(norm, mcolors.Normalize)
    if (aspect is None):
        aspect = rcParams['image.aspect']
    axes.set_aspect(aspect)
    im = ModestImage(axes, cmap, norm, interpolation, origin, extent, filternorm=filternorm, filterrad=filterrad, resample=resample, **kwargs)
    im.set_data(X)
    im.set_alpha(alpha)
    axes._set_artist_props(im)
    if (im.get_clip_path() is None):
        im.set_clip_path(axes.patch)
    if ((vmin is not None) or (vmax is not None)):
        im.set_clim(vmin, vmax)
    elif (norm is None):
        im.autoscale_None()
    im.set_url(url)
    im.set_extent(im.get_extent())
    axes.images.append(im)
    im._remove_method = (lambda h: axes.images.remove(h))
    return im

dataset/ETHPy150Open glue-viz/glue/glue/external/modest_image.py imshow/VarMisuse@87/142 `axes`->`norm`