docstr: Sets the type of gradient used to fill the markers
  
  The 'type' property is an enumeration that may be specified as:
    - One of the following enumeration values:
          ['radial', 'horizontal', 'vertical', 'none']
    - A tuple, list, or one-dimensional numpy array of the above
  
  Returns
  -------
  Any|numpy.ndarray
docstr_tok: ["Sets","the","type","of","gradient","used","to","fill","the","markers","The","'type","'","property","is","an","enumeration","that","may","be","specified","as",":","-","One","of","the","following","enumeration","values",":","[","'radial","'",",","'horizontal","'",",","'vertical","'",",","'none","'","]","-","A","tuple",",","list",",","or","one-dimensional","numpy","array","of","the","above","Returns","--","--","--","-","Any|numpy.ndarray"]
code: def type(self):
      """
      Sets the type of gradient used to fill the markers
  
      The 'type' property is an enumeration that may be specified as:
        - One of the following enumeration values:
              ['radial', 'horizontal', 'vertical', 'none']
        - A tuple, list, or one-dimensional numpy array of the above
  
      Returns
      -------
      Any|numpy.ndarray
      """
      return self["type"]
  
file_path: plotly.py/packages/python/plotly/plotly/graph_objs/scattersmith/marker/_gradient.py
imports: from plotly.basedatatypes import BaseTraceHierarchyType
  import copy
label_desc: Use image node_id 5 for calling the Gradient obj's underlying member method code with example usage: obj.type() and returns: self