def title(value):
 return re.sub("([a-z])'([A-Z])", (lambda m: m.group(0).lower()), value.title())

def title ( value ) : return re . sub ( "([a-z])'([A-Z])" , ( lambda m : m . group ( 0 ) . lower ( ) ) , value . title ( ) )
set a title of the current axes .