currently set_major_formatter does not support Formatter objects, fixed doc