class_docstr: Gauge graph class
class_docstr_tok: ["Gauge","graph","class"]
code: def _compute_y_labels(self):
      y_pos = compute_scale(
          self.min_,
          self.max_,
          self.logarithmic,
          self.order_min,
          self.min_scale,
          self.max_scale,
      )
      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.min_ = min(self.min_, min(cut(self._y_labels, 1)))
          self.max_ = max(self.max_, max(cut(self._y_labels, 1)))
          self._box.set_polar_box(0, 1, self.min_, self.max_)
      else:
          self._y_labels = list(zip(map(self._y_format, y_pos), y_pos))
  
file_path: pygal/pygal/graph/gauge.py
imports: from pygal.graph.graph import Graph
  from pygal.util import alter, compute_scale, cut, decorate
  from pygal.view import PolarThetaLogView, PolarThetaView
label_desc: Use image node_id 7 for calling the Gauge obj's underlying member method code with example usage: obj._compute_y_labels() without return types