def __init__(self, ax,<EOL>cmap = None,<EOL>norm = None,<EOL>interpolation=None,<EOL>origin=None,<EOL>extent=None,<EOL>filternorm=<NUM_LIT:1>,<EOL>filterrad=<NUM_LIT>,<EOL>resample = False,<EOL>**kwargs<EOL>):
martist.Artist.__init__(self)<EOL>cm.ScalarMappable.__init__(self, norm, cmap)<EOL>if origin is None: origin = rcParams['<STR_LIT>']<EOL>self.origin = origin<EOL>self._extent = extent<EOL>self.set_filternorm(filternorm)<EOL>self.set_filterrad(filterrad)<EOL>self._filterrad = filterrad<EOL>self.set_interpolation(interpolation)<EOL>self.set_resample(resample)<EOL>self.axes = ax<EOL>self._imcache = None<EOL>self.update(kwargs)<EOL>
interpolation and cmap default to their rc settings

cmap is a colors.Colormap instance
norm is a colors.Normalize instance to map luminance to 0-1

extent is data axes (left, right, bottom, top) for making image plots
registered with data plots.  Default is to label the pixel
centers with the zero-based row and column indices.

Additional kwargs are matplotlib.artist properties