docstr: Construct a new Gauge object
  
  The gauge of the Indicator plot.
  
  Parameters
  ----------
  arg
      dict of properties compatible with this constructor or
      an instance of
      :class:`plotly.graph_objs.indicator.Gauge`
  axis
      :class:`plotly.graph_objects.indicator.gauge.Axis`
      instance or dict with compatible properties
  bar
      Set the appearance of the gauge's value
  bgcolor
      Sets the gauge background color.
  bordercolor
      Sets the color of the border enclosing the gauge.
  borderwidth
      Sets the width (in px) of the border enclosing the
      gauge.
  shape
      Set the shape of the gauge
  steps
      A tuple of
      :class:`plotly.graph_objects.indicator.gauge.Step`
      instances or dicts with compatible properties
  stepdefaults
      When used in a template (as
      layout.template.data.indicator.gauge.stepdefaults),
      sets the default property values to use for elements of
      indicator.gauge.steps
  threshold
      :class:`plotly.graph_objects.indicator.gauge.Threshold`
      instance or dict with compatible properties
  
  Returns
  -------
  Gauge
docstr_tok: ["Construct","a","new","Gauge","object","The","gauge","of","the","Indicator","plot",".","Parameters","--","--","--","--","--","arg","dict","of","properties","compatible","with","this","constructor","or","an","instance","of",":","class",":","`","plotly.graph_objs.indicator.Gauge","`","axis",":","class",":","`","plotly.graph_objects.indicator.gauge.Axis","`","instance","or","dict","with","compatible","properties","bar","Set","the","appearance","of","the","gauge","'s","value","bgcolor","Sets","the","gauge","background","color",".","bordercolor","Sets","the","color","of","the","border","enclosing","the","gauge",".","borderwidth","Sets","the","width","(","in","px",")","of","the","border","enclosing","the","gauge",".","shape","Set","the","shape","of","the","gauge","steps","A","tuple","of",":","class",":","`","plotly.graph_objects.indicator.gauge.Step","`","instances","or","dicts","with","compatible","properties","stepdefaults","When","used","in","a","template","(","as","layout.template.data.indicator.gauge.stepdefaults",")",",","sets","the","default","property","values","to","use","for","elements","of","indicator.gauge.steps","threshold",":","class",":","`","plotly.graph_objects.indicator.gauge.Threshold","`","instance","or","dict","with","compatible","properties","Returns","--","--","--","-","Gauge"]
code: def __init__(
      self,
      arg=None,
      axis=None,
      bar=None,
      bgcolor=None,
      bordercolor=None,
      borderwidth=None,
      shape=None,
      steps=None,
      stepdefaults=None,
      threshold=None,
      **kwargs,
  ):
      """
      Construct a new Gauge object
  
      The gauge of the Indicator plot.
  
      Parameters
      ----------
      arg
          dict of properties compatible with this constructor or
          an instance of
          :class:`plotly.graph_objs.indicator.Gauge`
      axis
          :class:`plotly.graph_objects.indicator.gauge.Axis`
          instance or dict with compatible properties
      bar
          Set the appearance of the gauge's value
      bgcolor
          Sets the gauge background color.
      bordercolor
          Sets the color of the border enclosing the gauge.
      borderwidth
          Sets the width (in px) of the border enclosing the
          gauge.
      shape
          Set the shape of the gauge
      steps
          A tuple of
          :class:`plotly.graph_objects.indicator.gauge.Step`
          instances or dicts with compatible properties
      stepdefaults
          When used in a template (as
          layout.template.data.indicator.gauge.stepdefaults),
          sets the default property values to use for elements of
          indicator.gauge.steps
      threshold
          :class:`plotly.graph_objects.indicator.gauge.Threshold`
          instance or dict with compatible properties
  
      Returns
      -------
      Gauge
      """
      super(Gauge, self).__init__("gauge")
  
      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.indicator.Gauge 
  constructor must be a dict or 
  an instance of :class:`plotly.graph_objs.indicator.Gauge`"""
          )
  
      # 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("axis", None)
      _v = axis if axis is not None else _v
      if _v is not None:
          self["axis"] = _v
      _v = arg.pop("bar", None)
      _v = bar if bar is not None else _v
      if _v is not None:
          self["bar"] = _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("bordercolor", None)
      _v = bordercolor if bordercolor is not None else _v
      if _v is not None:
          self["bordercolor"] = _v
      _v = arg.pop("borderwidth", None)
      _v = borderwidth if borderwidth is not None else _v
      if _v is not None:
          self["borderwidth"] = _v
      _v = arg.pop("shape", None)
      _v = shape if shape is not None else _v
      if _v is not None:
          self["shape"] = _v
      _v = arg.pop("steps", None)
      _v = steps if steps is not None else _v
      if _v is not None:
          self["steps"] = _v
      _v = arg.pop("stepdefaults", None)
      _v = stepdefaults if stepdefaults is not None else _v
      if _v is not None:
          self["stepdefaults"] = _v
      _v = arg.pop("threshold", None)
      _v = threshold if threshold is not None else _v
      if _v is not None:
          self["threshold"] = _v
  
      # Process unknown kwargs
      # ----------------------
      self._process_kwargs(**dict(arg, **kwargs))
  
      # Reset skip_invalid
      # ------------------
      self._skip_invalid = False
  
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 20 to create a new Gauge object from inherited base classes: _BaseTraceHierarchyType with example: obj = Gauge(arg, axis, bar, bgcolor, bordercolor, borderwidth, shape, steps, stepdefaults, threshold)