class_docstr: RasterGridPlot evenly spaces out plots of individual projections on
  a grid, even when they differ in size. Since this class uses a single
  axis to generate all the individual plots it is much faster than the
  equivalent using subplots.
class_docstr_tok: ["RasterGridPlot","evenly","spaces","out","plots","of","individual","projections","on","a","grid",",","even","when","they","differ","in","size",".","Since","this","class","uses","a","single","axis","to","generate","all","the","individual","plots","it","is","much","faster","than","the","equivalent","using","subplots","."]
code: def _get_axis_kwargs(self):
      xdim = self.layout.kdims[0]
      ydim = self.layout.kdims[1] if self.layout.ndims > 1 else None
      xticks = (
          self._xticks,
          [xdim.pprint_value(l) for l in self._xkeys],
      )
      yticks = (
          self._yticks,
          [ydim.pprint_value(l) if ydim else "" for l in self._ykeys],
      )
      return dict(dimensions=[xdim, ydim], xticks=xticks, yticks=yticks)
  
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 7 for calling the RasterGridPlot obj's underlying member method code with example usage: obj._get_axis_kwargs() and returns: dict