auto_size and bestFit not working
Created originally on Bitbucket by disneian (Ian Lee)
I have tried to use auto_size and bestFit to set the column widths, but the result is all my columns' width are set to 0. Is this a bug or am I doing something wrong?
for column_cell in ws.columns:
ws.column_dimensions[get_column_letter(column_cell[0].column)].auto_size = True