docstr: Construct a new Polar object
  
  Parameters
  ----------
  arg
      dict of properties compatible with this constructor or
      an instance of :class:`plotly.graph_objs.layout.Polar`
  angularaxis
      :class:`plotly.graph_objects.layout.polar.AngularAxis`
      instance or dict with compatible properties
  bargap
      Sets the gap between bars of adjacent location
      coordinates. Values are unitless, they represent
      fractions of the minimum difference in bar positions in
      the data.
  barmode
      Determines how bars at the same location coordinate are
      displayed on the graph. With "stack", the bars are
      stacked on top of one another With "overlay", the bars
      are plotted over one another, you might need to reduce
      "opacity" to see multiple bars.
  bgcolor
      Set the background color of the subplot
  domain
      :class:`plotly.graph_objects.layout.polar.Domain`
      instance or dict with compatible properties
  gridshape
      Determines if the radial axis grid lines and angular
      axis line are drawn as "circular" sectors or as
      "linear" (polygon) sectors. Has an effect only when the
      angular axis has `type` "category". Note that
      `radialaxis.angle` is snapped to the angle of the
      closest vertex when `gridshape` is "circular" (so that
      radial axis scale is the same as the data scale).
  hole
      Sets the fraction of the radius to cut out of the polar
      subplot.
  radialaxis
      :class:`plotly.graph_objects.layout.polar.RadialAxis`
      instance or dict with compatible properties
  sector
      Sets angular span of this polar subplot with two angles
      (in degrees). Sector are assumed to be spanned in the
      counterclockwise direction with 0 corresponding to
      rightmost limit of the polar subplot.
  uirevision
      Controls persistence of user-driven changes in axis
      attributes, if not overridden in the individual axes.
      Defaults to `layout.uirevision`.
  
  Returns
  -------
  Polar
docstr_tok: ["Construct","a","new","Polar","object","Parameters","--","--","--","--","--","arg","dict","of","properties","compatible","with","this","constructor","or","an","instance","of",":","class",":","`","plotly.graph_objs.layout.Polar","`","angularaxis",":","class",":","`","plotly.graph_objects.layout.polar.AngularAxis","`","instance","or","dict","with","compatible","properties","bargap","Sets","the","gap","between","bars","of","adjacent","location","coordinates",".","Values","are","unitless",",","they","represent","fractions","of","the","minimum","difference","in","bar","positions","in","the","data",".","barmode","Determines","how","bars","at","the","same","location","coordinate","are","displayed","on","the","graph",".","With","``","stack","''",",","the","bars","are","stacked","on","top","of","one","another","With","``","overlay","''",",","the","bars","are","plotted","over","one","another",",","you","might","need","to","reduce","``","opacity","''","to","see","multiple","bars",".","bgcolor","Set","the","background","color","of","the","subplot","domain",":","class",":","`","plotly.graph_objects.layout.polar.Domain","`","instance","or","dict","with","compatible","properties","gridshape","Determines","if","the","radial","axis","grid","lines","and","angular","axis","line","are","drawn","as","``","circular","''","sectors","or","as","``","linear","''","(","polygon",")","sectors",".","Has","an","effect","only","when","the","angular","axis","has","`","type","`","``","category","''",".","Note","that","`","radialaxis.angle","`","is","snapped","to","the","angle","of","the","closest","vertex","when","`","gridshape","`","is","``","circular","''","(","so","that","radial","axis","scale","is","the","same","as","the","data","scale",")",".","hole","Sets","the","fraction","of","the","radius","to","cut","out","of","the","polar","subplot",".","radialaxis",":","class",":","`","plotly.graph_objects.layout.polar.RadialAxis","`","instance","or","dict","with","compatible","properties","sector","Sets","angular","span","of","this","polar","subplot","with","two","angles","(","in","degrees",")",".","Sector","are","assumed","to","be","spanned","in","the","counterclockwise","direction","with","0","corresponding","to","rightmost","limit","of","the","polar","subplot",".","uirevision","Controls","persistence","of","user-driven","changes","in","axis","attributes",",","if","not","overridden","in","the","individual","axes",".","Defaults","to","`","layout.uirevision","`",".","Returns","--","--","--","-","Polar"]
code: def __init__(
      self,
      arg=None,
      angularaxis=None,
      bargap=None,
      barmode=None,
      bgcolor=None,
      domain=None,
      gridshape=None,
      hole=None,
      radialaxis=None,
      sector=None,
      uirevision=None,
      **kwargs,
  ):
      """
      Construct a new Polar object
  
      Parameters
      ----------
      arg
          dict of properties compatible with this constructor or
          an instance of :class:`plotly.graph_objs.layout.Polar`
      angularaxis
          :class:`plotly.graph_objects.layout.polar.AngularAxis`
          instance or dict with compatible properties
      bargap
          Sets the gap between bars of adjacent location
          coordinates. Values are unitless, they represent
          fractions of the minimum difference in bar positions in
          the data.
      barmode
          Determines how bars at the same location coordinate are
          displayed on the graph. With "stack", the bars are
          stacked on top of one another With "overlay", the bars
          are plotted over one another, you might need to reduce
          "opacity" to see multiple bars.
      bgcolor
          Set the background color of the subplot
      domain
          :class:`plotly.graph_objects.layout.polar.Domain`
          instance or dict with compatible properties
      gridshape
          Determines if the radial axis grid lines and angular
          axis line are drawn as "circular" sectors or as
          "linear" (polygon) sectors. Has an effect only when the
          angular axis has `type` "category". Note that
          `radialaxis.angle` is snapped to the angle of the
          closest vertex when `gridshape` is "circular" (so that
          radial axis scale is the same as the data scale).
      hole
          Sets the fraction of the radius to cut out of the polar
          subplot.
      radialaxis
          :class:`plotly.graph_objects.layout.polar.RadialAxis`
          instance or dict with compatible properties
      sector
          Sets angular span of this polar subplot with two angles
          (in degrees). Sector are assumed to be spanned in the
          counterclockwise direction with 0 corresponding to
          rightmost limit of the polar subplot.
      uirevision
          Controls persistence of user-driven changes in axis
          attributes, if not overridden in the individual axes.
          Defaults to `layout.uirevision`.
  
      Returns
      -------
      Polar
      """
      super(Polar, self).__init__("polar")
  
      if "_parent" in kwargs:
          self._parent = kwargs["_parent"]
          return
  
      # Validate arg
      # ------------
      if arg is None:
          arg = {}
      elif isinstance(arg, self.__class__):
          arg = arg.to_plotly_json()
      elif isinstance(arg, dict):
          arg = _copy.copy(arg)
      else:
          raise ValueError(
              """\
  The first argument to the plotly.graph_objs.layout.Polar
  constructor must be a dict or
  an instance of :class:`plotly.graph_objs.layout.Polar`"""
          )
  
      # Handle skip_invalid
      # -------------------
      self._skip_invalid = kwargs.pop("skip_invalid", False)
      self._validate = kwargs.pop("_validate", True)
  
      # Populate data dict with properties
      # ----------------------------------
      _v = arg.pop("angularaxis", None)
      _v = angularaxis if angularaxis is not None else _v
      if _v is not None:
          self["angularaxis"] = _v
      _v = arg.pop("bargap", None)
      _v = bargap if bargap is not None else _v
      if _v is not None:
          self["bargap"] = _v
      _v = arg.pop("barmode", None)
      _v = barmode if barmode is not None else _v
      if _v is not None:
          self["barmode"] = _v
      _v = arg.pop("bgcolor", None)
      _v = bgcolor if bgcolor is not None else _v
      if _v is not None:
          self["bgcolor"] = _v
      _v = arg.pop("domain", None)
      _v = domain if domain is not None else _v
      if _v is not None:
          self["domain"] = _v
      _v = arg.pop("gridshape", None)
      _v = gridshape if gridshape is not None else _v
      if _v is not None:
          self["gridshape"] = _v
      _v = arg.pop("hole", None)
      _v = hole if hole is not None else _v
      if _v is not None:
          self["hole"] = _v
      _v = arg.pop("radialaxis", None)
      _v = radialaxis if radialaxis is not None else _v
      if _v is not None:
          self["radialaxis"] = _v
      _v = arg.pop("sector", None)
      _v = sector if sector is not None else _v
      if _v is not None:
          self["sector"] = _v
      _v = arg.pop("uirevision", None)
      _v = uirevision if uirevision is not None else _v
      if _v is not None:
          self["uirevision"] = _v
  
      # Process unknown kwargs
      # ----------------------
      self._process_kwargs(**dict(arg, **kwargs))
  
      # Reset skip_invalid
      # ------------------
      self._skip_invalid = False
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 22 to create a new Polar object from inherited base classes: _BaseLayoutHierarchyType with example: obj = Polar(arg, angularaxis, bargap, barmode, bgcolor, domain, gridshape, hole, radialaxis, sector, uirevision)