docstr: Describes how a new selection is created. If `immediate`, a new
  selection is created after first mouse up. If `gradual`, a new
  selection is not created after first mouse. By adding to and
  subtracting from the initial selection, this option allows
  declaring extra outlines of the selection.
  
  The 'mode' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['immediate', 'gradual']
  
  Returns
  -------
  Any
code: def mode(self):
      """
      Describes how a new selection is created. If `immediate`, a new
      selection is created after first mouse up. If `gradual`, a new
      selection is not created after first mouse. By adding to and
      subtracting from the initial selection, this option allows
      declaring extra outlines of the selection.
  
      The 'mode' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['immediate', 'gradual']
  
      Returns
      -------
      Any
      """
      return self["mode"]
  
file_path: catboost/contrib/python/plotly/py3/plotly/graph_objs/layout/_newselection.py
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 3 for calling the Newselection obj's underlying member method code with example usage: obj.mode() and returns: self