Fixing Python xlsxwriter That Applies Wrong Row Height After autofit
xlsxwriter's autofit method sets row heights that look right in the preview but end up clipped or oversized in Excel. Here's why it happens and exactly how to calculate correct row heights yourself.