docstr: Sets the trace name. The trace name appears as the legend item
  and on hover.
  
  The 'name' property is a string and must be specified as:
    - A string
    - A number that will be converted to a string
  
  Returns
  -------
  str
docstr_tok: ["Sets","the","trace","name",".","The","trace","name","appears","as","the","legend","item","and","on","hover",".","The","'name","'","property","is","a","string","and","must","be","specified","as",":","-","A","string","-","A","number","that","will","be","converted","to","a","string","Returns","--","--","--","-","str"]
code: def name(self):
      """
      Sets the trace name. The trace name appears as the legend item
      and on hover.
  
      The 'name' property is a string and must be specified as:
        - A string
        - A number that will be converted to a string
  
      Returns
      -------
      str
      """
      return self["name"]
  
imports: from plotly.basedatatypes import BaseTraceType
  import copy
label_desc: Use image node_id 31 for calling the Sankey obj's underlying member method code with example usage: obj.name() and returns: self