class_docstr: Dot graph class
class_docstr_tok: ["Dot","graph","class"]
docstr: Assign a view to current graph
docstr_tok: ["Assign","a","view","to","current","graph"]
code: def _set_view(self):
      """Assign a view to current graph"""
      view_class = ReverseView if self.inverse_y_axis else View
  
      self.view = view_class(
          self.width - self.margin_box.x,
          self.height - self.margin_box.y,
          self._box,
      )
  
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 4 for calling the Dot obj's underlying member method code with example usage: obj._set_view() without return types