def find_mappable(*axes):
for ax in axes:<EOL><INDENT>for aset in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>try:<EOL><INDENT>return getattr(ax, aset)[-<NUM_LIT:1>]<EOL><DEDENT>except (AttributeError, IndexError):<EOL><INDENT>continue<EOL><DEDENT><DEDENT><DEDENT>raise ValueError("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>
Find the most recently added mappable layer in the given axes

    Parameters
    ----------
    *axes : `~matplotlib.axes.Axes`
        one or more axes to search for a mappable