code: def on_move(self, event):
      if any(item.set_hover(event) for item in self.menuitems):
          self.figure.canvas.draw()
  
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 2 for calling the Menu obj's underlying member method code with example usage: obj.on_move(event) without return types