docstr: Sets the text to display with the new shape. It is also used
  for legend item if `name` is not provided.
  
  The 'text' 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","text","to","display","with","the","new","shape",".","It","is","also","used","for","legend","item","if","`","name","`","is","not","provided",".","The","'text","'","property","is","a","string","and","must","be","specified","as",":","-","A","string","-","A","number","that","will","be","converted","to","a","string","Returns","--","--","--","-","str"]
code: def text(self):
      """
      Sets the text to display with the new shape. It is also used
      for legend item if `name` is not provided.
  
      The 'text' property is a string and must be specified as:
        - A string
        - A number that will be converted to a string
  
      Returns
      -------
      str
      """
      return self["text"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 5 for calling the Label obj's underlying member method code with example usage: obj.text() and returns: self