code: def draw(self, renderer):
      self.rect.draw(renderer)
      self.label.draw(renderer)
  
file_path: matplotlib/galleries/examples/widgets/menu.py
imports: from dataclasses import dataclass
  import matplotlib.pyplot
  import matplotlib.artist
  import matplotlib.patches
  from matplotlib.typing import ColorType
label_desc: Use image node_id 4 for calling the MenuItem obj's underlying member method code with example usage: obj.draw(renderer) without return types