code: def _compute_tick_mapping(self, kind, order, bins):
          
  
          if kind == "angle":
              ticks = self.xticks
              reverse = True
          elif kind == "radius":
              ticks = self.yticks
              reverse = False
  
          if callable(ticks):
              text_nth = [x for x in order if ticks(x)]
  
          elif isinstance(ticks, (tuple, list)):
              bins = self._get_bins(kind, ticks, reverse)
              text_nth = ticks
  
          elif ticks:
              nth_label = np.ceil(len(order) / float(ticks)).astype(int)
              text_nth = order[::nth_label]
  
          return {x: bins[x] for x in text_nth}
docs: Helper function to compute tick mappings based on `ticks` and
          default orders and bins.