class_docstr: Size whose absolute part is either the largest width or the largest height
  of the given *artist_list*.
class_docstr_tok: ["Size","whose","absolute","part","is","either","the","largest","width","or","the","largest","height","of","the","given","*","artist_list","*","."]
code: def get_size(self, renderer):
      rel_size = 0.0
      extent_list = [
          getattr(a.get_window_extent(renderer), self._w_or_h)
          / a.figure.dpi
          for a in self._artist_list
      ]
      abs_size = max(extent_list, default=0)
      return rel_size, abs_size
  
imports: from numbers import Real
  from matplotlib import _api
  from matplotlib.axes import Axes
label_desc: Use image node_id 3 for calling the MaxExtent obj's underlying member method code with example usage: obj.get_size(renderer) and returns: rel_size,  abs_size