docstr: The 'gradient' property is an instance of Gradient
  that may be specified as:
    - An instance of :class:`plotly.graph_objs.scatter.marker.Gradient`
    - A dict of string/value properties that will be passed
      to the Gradient constructor
  
      Supported dict properties:
          
          color
              Sets the final color of the gradient fill: the
              center color for radial, the right for
              horizontal, or the bottom for vertical.
          colorsrc
              Sets the source reference on Chart Studio Cloud
              for  color .
          type
              Sets the type of gradient used to fill the
              markers
          typesrc
              Sets the source reference on Chart Studio Cloud
              for  type .
  
  Returns
  -------
  plotly.graph_objs.scatter.marker.Gradient
code: def gradient(self):
      """
      The 'gradient' property is an instance of Gradient
      that may be specified as:
        - An instance of :class:`plotly.graph_objs.scatter.marker.Gradient`
        - A dict of string/value properties that will be passed
          to the Gradient constructor
  
          Supported dict properties:
  
              color
                  Sets the final color of the gradient fill: the
                  center color for radial, the right for
                  horizontal, or the bottom for vertical.
              colorsrc
                  Sets the source reference on Chart Studio Cloud
                  for  color .
              type
                  Sets the type of gradient used to fill the
                  markers
              typesrc
                  Sets the source reference on Chart Studio Cloud
                  for  type .
  
      Returns
      -------
      plotly.graph_objs.scatter.marker.Gradient
      """
      return self["gradient"]
  
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 21 for calling the Marker obj's underlying member method code with example usage: obj.gradient() and returns: self