Reputation: 828
I just upgraded openpyxl
to version 2.4.0
and this code that worked fine in previous versions, doesn't work anymore:
style = openpyxl.styles.Style(**style_kwargs)
Openpyxl says that it doesn't have a Style
attribute:
AttributeError: 'module' object has no attribute 'Style'
How does it work now?
Upvotes: 0
Views: 1052
Reputation: 19507
The Style
class was deprecated several versions ago and has been removed.
Upvotes: 3