code: def trigger_manager_draw(manager):
      # For performance reasons, we don't want to redraw the figure after
      # each draw command. Instead, we mark the figure as invalid, so that it
      # will be redrawn as soon as the event loop resumes via PyOS_InputHook.
      # This function should be called after each draw event, even if
      # matplotlib is not running interactively.
      manager.canvas.invalidate()
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import os
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import _Backend, FigureCanvasBase, FigureManagerBase, NavigationToolbar2, TimerBase
  from matplotlib.figure import Figure
  from matplotlib import rcParams
  from matplotlib.widgets import SubplotTool
  import matplotlib
  from matplotlib.backends import _macosx
  from .backend_agg import FigureCanvasAgg
label_desc: Use image node_id 1 for calling the _BackendMac obj's underlying member method code with example usage: obj.trigger_manager_draw(manager) without return types