docstr: Used to refer to a named item in this array in the template.
  Named items from the template will be created even without a
  matching item in the input figure, but you can modify one by
  making an item with `templateitemname` matching its `name`,
  alongside your modifications (including `visible: false` or
  `enabled: false` to hide it). If there is no template or no
  matching item, this item will be hidden unless you explicitly
  show it with `visible: true`.
  
  The 'templateitemname' property is a string and must be specified as:
    - A string
    - A number that will be converted to a string
  
  Returns
  -------
  str
docstr_tok: ["Used","to","refer","to","a","named","item","in","this","array","in","the","template",".","Named","items","from","the","template","will","be","created","even","without","a","matching","item","in","the","input","figure",",","but","you","can","modify","one","by","making","an","item","with","`","templateitemname","`","matching","its","`","name","`",",","alongside","your","modifications","(","including","`","visible",":","false","`","or","`","enabled",":","false","`","to","hide","it",")",".","If","there","is","no","template","or","no","matching","item",",","this","item","will","be","hidden","unless","you","explicitly","show","it","with","`","visible",":","true","`",".","The","'templateitemname","'","property","is","a","string","and","must","be","specified","as",":","-","A","string","-","A","number","that","will","be","converted","to","a","string","Returns","--","--","--","-","str"]
code: def templateitemname(self):
      """
      Used to refer to a named item in this array in the template.
      Named items from the template will be created even without a
      matching item in the input figure, but you can modify one by
      making an item with `templateitemname` matching its `name`,
      alongside your modifications (including `visible: false` or
      `enabled: false` to hide it). If there is no template or no
      matching item, this item will be hidden unless you explicitly
      show it with `visible: true`.
  
      The 'templateitemname' property is a string and must be specified as:
        - A string
        - A number that will be converted to a string
  
      Returns
      -------
      str
      """
      return self["templateitemname"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 23 for calling the Updatemenu obj's underlying member method code with example usage: obj.templateitemname() and returns: self