def _imshow_array2d(self, array, origin='<STR_LIT>', interpolation='<STR_LIT:none>',<EOL>aspect='<STR_LIT>', **kwargs):
<EOL>extent = tuple(array.xspan) + tuple(array.yspan)<EOL>if self.get_xscale() == '<STR_LIT>' and extent[<NUM_LIT:0>] == <NUM_LIT:0.>:<EOL><INDENT>extent = (<NUM_LIT>,) + extent[<NUM_LIT:1>:]<EOL><DEDENT>if self.get_yscale() == '<STR_LIT>' and extent[<NUM_LIT:2>] == <NUM_LIT:0.>:<EOL><INDENT>extent = extent[:<NUM_LIT:2>] + (<NUM_LIT>,) + extent[<NUM_LIT:3>:]<EOL><DEDENT>kwargs.setdefault('<STR_LIT>', extent)<EOL>return self.imshow(array.value.T, origin=origin, aspect=aspect,<EOL>interpolation=interpolation, **kwargs)<EOL>
Render an `~gwpy.types.Array2D` using `Axes.imshow`