class_docstr: Rada graph class
class_docstr_tok: ["Rada","graph","class"]
code: def _compute_y_labels(self):
      y_pos = compute_scale(
          self._rmin,
          self._rmax,
          self.logarithmic,
          self.order_min,
          self.min_scale,
          self.max_scale / 2,
      )
      if self.y_labels:
          self._y_labels = []
          for i, y_label in enumerate(self.y_labels):
              if isinstance(y_label, dict):
                  pos = self._adapt(y_label.get("value"))
                  title = y_label.get("label", self._y_format(pos))
              elif isinstance(y_label, str):
                  pos = self._adapt(y_pos[i])
                  title = y_label
              else:
                  pos = self._adapt(y_label)
                  title = self._y_format(pos)
              self._y_labels.append((title, pos))
          self._rmin = min(self._rmin, min(cut(self._y_labels, 1)))
          self._rmax = max(self._rmax, max(cut(self._y_labels, 1)))
          self._box.set_polar_box(self._rmin, self._rmax)
  
      else:
          self._y_labels = list(zip(map(self._y_format, y_pos), y_pos))
  
file_path: pygal/pygal/graph/radar.py
imports: from math import cos, pi
  from pygal.adapters import none_to_zero, positive
  from pygal.graph.line import Line
  from pygal.util import cached_property, compute_scale, cut, deg, truncate
  from pygal.view import PolarLogView, PolarView
label_desc: Use image node_id 8 for calling the Radar obj's underlying member method code with example usage: obj._compute_y_labels() without return types