code: def _set_menu_entry(tb, name):
      tb.canvas.figure.set_agg_filter(_get_color_filter(name))
      tb.canvas.draw_idle()
  
file_path: matplotlib/galleries/examples/user_interfaces/mplcvd.py
imports: import functools
  from pathlib import Path
  import colorspacious
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _set_menu_entry(tb, name) without return types