reformat some pandas graphs