code: def set_cursor(self, cursor):
      _macosx.set_cursor(cursor)
  
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 5 for calling the NavigationToolbar2Mac obj's underlying member method code with example usage: obj.set_cursor(cursor) without return types