docstr: Test computation of annular tick mappings. Check integers, list and
  function types.
docstr_tok: ["Test","computation","of","annular","tick","mappings",".","Check","integers",",","list","and","function","types","."]
code: def test_compute_ann_tick_mappings(self):
      """Test computation of annular tick mappings. Check integers, list and
      function types.
  
      """
  
      order = sorted(self.ann_bins.keys())
  
      # test number ticks
      self.plot.yticks = 1
      ticks = self.plot._compute_tick_mapping(
          "radius", order, self.ann_bins
      )
      self.assertEqual(ticks, {"o1": self.ann_bins["o1"]})
  
      self.plot.yticks = 2
      ticks = self.plot._compute_tick_mapping(
          "radius", order, self.ann_bins
      )
      self.assertEqual(ticks, self.ann_bins)
  
      # test completely new ticks
      self.plot.yticks = ["New Tick1", "New Tick2"]
      ticks = self.plot._compute_tick_mapping(
          "radius", order, self.ann_bins
      )
      bins = self.plot._get_bins("radius", self.plot.yticks)
      ticks_cmp = {x: bins[x] for x in self.plot.yticks}
      self.assertEqual(ticks, ticks_cmp)
  
      # test function ticks
      self.plot.yticks = lambda x: x == "o1"
      ticks = self.plot._compute_tick_mapping(
          "radius", order, self.ann_bins
      )
      self.assertEqual(ticks, {"o1": self.ann_bins["o1"]})
  
imports: from itertools import product
  import numpy
  from bokeh.models import ColorBar
  from holoviews.core.spaces import HoloMap
  from holoviews.element.raster import HeatMap
  from holoviews.plotting.bokeh import RadialHeatMapPlot
  from .test_plot import TestBokehPlot, bokeh_renderer
label_desc: Use image node_id 7 for calling the BokehRadialHeatMapPlotTests obj's underlying member method code with example usage: obj.test_compute_ann_tick_mappings() without return types