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