code: def init_artists(self, ax, plot_args, plot_kwargs):
      locs = plot_kwargs.pop("locs", None)
      artist = ax.pcolormesh(*plot_args, **plot_kwargs)
      colorbar = self.handles.get("cbar")
      if (
          "norm" in plot_kwargs
      ):  # vmin/vmax should now be exclusively in norm
          plot_kwargs.pop("vmin", None)
          plot_kwargs.pop("vmax", None)
      if colorbar and mpl_version < Version("3.1"):
          colorbar.set_norm(artist.norm)
          if hasattr(colorbar, "set_array"):
              # Compatibility with mpl < 3
              colorbar.set_array(artist.get_array())
          colorbar.set_clim(artist.get_clim())
          colorbar.update_normal(artist)
      elif colorbar:
          colorbar.update_normal(artist)
  
      return {"artist": artist, "locs": locs}
  
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 2 for calling the QuadMeshPlot obj's underlying member method code with example usage: obj.init_artists(ax, plot_args, plot_kwargs) and returns: dict