class_docstr: Dot graph class
class_docstr_tok: ["Dot","graph","class"]
docstr: Compute y min and max and y scale and set labels
docstr_tok: ["Compute","y","min","and","max","and","y","scale","and","set","labels"]
code: def _compute(self):
      """Compute y min and max and y scale and set labels"""
      x_len = self._len
      y_len = self._order
      self._box.xmax = x_len
      self._box.ymax = y_len
  
      self._x_pos = [n / 2 for n in range(1, 2 * x_len, 2)]
      self._y_pos = [n / 2 for n in reversed(range(1, 2 * y_len, 2))]
  
      for j, serie in enumerate(self.series):
          serie.points = [
              (self._x_pos[i], self._y_pos[j]) for i in range(x_len)
          ]
  
file_path: pygal/pygal/graph/dot.py
imports: from math import log10
  from pygal.graph.graph import Graph
  from pygal.util import alter, cached_property, decorate, safe_enumerate
  from pygal.view import ReverseView, View
label_desc: Use image node_id 2 for calling the Dot obj's underlying member method code with example usage: obj._compute() without return types