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