class_docstr: Horizontal graph mixin
docstr: Assign a horizontal view to current graph
code: def _set_view(self):
      """Assign a horizontal view to current graph"""
      if self.logarithmic:
          view_class = HorizontalLogView
      else:
          view_class = HorizontalView
  
      self.view = view_class(
          self.width - self.margin_box.x,
          self.height - self.margin_box.y,
          self._box,
      )
  
file_path: pygal/pygal/graph/horizontal.py
imports: from pygal.graph.graph import Graph
  from pygal.view import HorizontalLogView, HorizontalView
label_desc: Use image node_id 4 for calling the HorizontalGraph obj's underlying member method code with example usage: obj._set_view() without return types