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