class_docstr: Size whose absolute part is the largest width (or height) of
  the given *artist_list*.
class_docstr_tok: ["Size","whose","absolute","part","is","the","largest","width","(","or","height",")","of","the","given","*","artist_list","*","."]
code: def __init__(self, artist_list, w_or_h):
      self._artist_list = artist_list
  
      if w_or_h not in ["width", "height"]:
          raise ValueError()
  
      self._w_or_h = w_or_h
  
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 1 to create a new MaxExtent object from inherited base classes: _Base with example: obj = MaxExtent(artist_list, w_or_h)