code: def uirevision(self, val):
      self["uirevision"] = val
  
imports: from plotly.basedatatypes import BaseLayoutHierarchyType
  import copy
label_desc: Use image node_id 34 for calling the Legend obj's underlying member method code with example usage: obj.uirevision(val) without return types