docstr: Construct a new Delta object
  
  Parameters
  ----------
  arg
      dict of properties compatible with this constructor or
      an instance of
      :class:`plotly.graph_objs.indicator.Delta`
  decreasing
      :class:`plotly.graph_objects.indicator.delta.Decreasing
      ` instance or dict with compatible properties
  font
      Set the font used to display the delta
  increasing
      :class:`plotly.graph_objects.indicator.delta.Increasing
      ` instance or dict with compatible properties
  position
      Sets the position of delta with respect to the number.
  reference
      Sets the reference value to compute the delta. By
      default, it is set to the current value.
  relative
      Show relative change
  valueformat
      Sets the value formatting rule using d3 formatting
      mini-language which is similar to those of Python. See
      https://github.com/d3/d3-3.x-api-
      reference/blob/master/Formatting.md#d3_format
  
  Returns
  -------
  Delta
docstr_tok: ["Construct","a","new","Delta","object","Parameters","--","--","--","--","--","arg","dict","of","properties","compatible","with","this","constructor","or","an","instance","of",":","class",":","`","plotly.graph_objs.indicator.Delta","`","decreasing",":","class",":","`","plotly.graph_objects.indicator.delta.Decreasing","`","instance","or","dict","with","compatible","properties","font","Set","the","font","used","to","display","the","delta","increasing",":","class",":","`","plotly.graph_objects.indicator.delta.Increasing","`","instance","or","dict","with","compatible","properties","position","Sets","the","position","of","delta","with","respect","to","the","number",".","reference","Sets","the","reference","value","to","compute","the","delta",".","By","default",",","it","is","set","to","the","current","value",".","relative","Show","relative","change","valueformat","Sets","the","value","formatting","rule","using","d3","formatting","mini-language","which","is","similar","to","those","of","Python",".","See","https",":","\/\/github.com\/d3\/d3-3.x-api-","reference\/blob\/master\/Formatting.md","#","d3_format","Returns","--","--","--","-","Delta"]
code: def __init__(
      self,
      arg=None,
      decreasing=None,
      font=None,
      increasing=None,
      position=None,
      reference=None,
      relative=None,
      valueformat=None,
      **kwargs,
  ):
      """
      Construct a new Delta object
  
      Parameters
      ----------
      arg
          dict of properties compatible with this constructor or
          an instance of
          :class:`plotly.graph_objs.indicator.Delta`
      decreasing
          :class:`plotly.graph_objects.indicator.delta.Decreasing
          ` instance or dict with compatible properties
      font
          Set the font used to display the delta
      increasing
          :class:`plotly.graph_objects.indicator.delta.Increasing
          ` instance or dict with compatible properties
      position
          Sets the position of delta with respect to the number.
      reference
          Sets the reference value to compute the delta. By
          default, it is set to the current value.
      relative
          Show relative change
      valueformat
          Sets the value formatting rule using d3 formatting
          mini-language which is similar to those of Python. See
          https://github.com/d3/d3-3.x-api-
          reference/blob/master/Formatting.md#d3_format
  
      Returns
      -------
      Delta
      """
      super(Delta, self).__init__("delta")
  
      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.Delta 
  constructor must be a dict or 
  an instance of :class:`plotly.graph_objs.indicator.Delta`"""
          )
  
      # 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("decreasing", None)
      _v = decreasing if decreasing is not None else _v
      if _v is not None:
          self["decreasing"] = _v
      _v = arg.pop("font", None)
      _v = font if font is not None else _v
      if _v is not None:
          self["font"] = _v
      _v = arg.pop("increasing", None)
      _v = increasing if increasing is not None else _v
      if _v is not None:
          self["increasing"] = _v
      _v = arg.pop("position", None)
      _v = position if position is not None else _v
      if _v is not None:
          self["position"] = _v
      _v = arg.pop("reference", None)
      _v = reference if reference is not None else _v
      if _v is not None:
          self["reference"] = _v
      _v = arg.pop("relative", None)
      _v = relative if relative is not None else _v
      if _v is not None:
          self["relative"] = _v
      _v = arg.pop("valueformat", None)
      _v = valueformat if valueformat is not None else _v
      if _v is not None:
          self["valueformat"] = _v
  
      # Process unknown kwargs
      # ----------------------
      self._process_kwargs(**dict(arg, **kwargs))
  
      # Reset skip_invalid
      # ------------------
      self._skip_invalid = False
  
file_path: catboost/contrib/python/plotly/py2/plotly/graph_objs/indicator/_delta.py
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 16 to create a new Delta object from inherited base classes: _BaseTraceHierarchyType with example: obj = Delta(arg, decreasing, font, increasing, position, reference, relative, valueformat)