class_docstr: Rada graph class
class_docstr_tok: ["Rada","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"""
      if self.logarithmic:
          view_class = PolarLogView
      else:
          view_class = PolarView
  
      self.view = view_class(
          self.width - self.margin_box.x,
          self.height - self.margin_box.y,
          self._box,
      )
  
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 4 for calling the Radar obj's underlying member method code with example usage: obj._set_view() without return types