code: def get_size(self, renderer):
      rel_size = 0.0
  
      bb = self._func(renderer)
      dpi = renderer.points_to_pixels(72.0)
      abs_size = bb / dpi
  
      return rel_size, abs_size
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import matplotlib.cbook
  from matplotlib.axes import Axes
label_desc: Use image node_id 2 for calling the SizeFromFunc obj's underlying member method code with example usage: obj.get_size(renderer) and returns: rel_size,  abs_size