code: def __init__(self, *args, **kwargs):
      super().__init__(*args, **kwargs)
      if self.hmap.type == Raster:
          self.invert_yaxis = not self.invert_yaxis
  
imports: import sys
  import numpy
  import param
  from packaging.version import Version
  from ...core import CompositeOverlay, Element, traversal
  from ...core.util import isfinite, match_spec, max_range, unique_iterator
  from ...element.raster import RGB, Image, Raster
  from ..util import categorical_legend
  from .chart import PointPlot
  from .element import ColorbarPlot, ElementPlot, LegendPlot, OverlayPlot
  from .plot import GridPlot, MPLPlot, mpl_rc_context
  from .util import get_raster_array, mpl_version
label_desc: Use image node_id 1 to create a new RasterPlot object from inherited base classes: RasterBasePlot, ColorbarPlot with example: obj = RasterPlot()