docstr: Controls persistence of legend-driven changes in trace and pie
  label visibility. Defaults to `layout.uirevision`.
  
  The 'uirevision' property accepts values of any type
  
  Returns
  -------
  Any
docstr_tok: ["Controls","persistence","of","legend-driven","changes","in","trace","and","pie","label","visibility",".","Defaults","to","`","layout.uirevision","`",".","The","'uirevision","'","property","accepts","values","of","any","type","Returns","--","--","--","-","Any"]
code: def uirevision(self):
      """
      Controls persistence of legend-driven changes in trace and pie
      label visibility. Defaults to `layout.uirevision`.
  
      The 'uirevision' property accepts values of any type
  
      Returns
      -------
      Any
      """
      return self["uirevision"]
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 33 for calling the Legend obj's underlying member method code with example usage: obj.uirevision() and returns: self