'Some keys can have appended integers, this handles that.'

def _get_subplot_key(self, key):

    match = _subplot_regex.search(key)
    if match:
        root_key = key[:match.start()]
        if ((root_key in self._get_subplot_attributes()) and (not match.group('digits').startswith('0'))):
            return root_key
