code: def on_activate(app):
      manager = DataManager(application=app)
      manager.show()
  
file_path: matplotlib/galleries/examples/user_interfaces/gtk4_spreadsheet_sgskip.py
imports: import gi
  from gi.repository import Gtk
  from numpy.random import random
  from matplotlib.backends.backend_gtk4agg import FigureCanvas
  from matplotlib.figure import Figure
label_desc: Use image node_id 1 for calling a global function with example usage: on_activate(app) without return types