code: def draw_if_interactive():
      """
      For image backends - is not required
      For GUI backends - this should be overridden if drawing should be done in
      interactive python mode
      """
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.backend_bases import FigureCanvasBase, FigureManagerBase, GraphicsContextBase, RendererBase
  from matplotlib.figure import Figure
label_desc: Use image node_id 1 for calling a global function with example usage: draw_if_interactive() without return types