0

I have a heatmap which I plot in python and I want to export it to excel.

I ve tried this:

figure=sns.heatmap(df, cmap='viridis_r', annot=True, cbar=False).set(title=str(store))

in order to export it with xlsx writer. But i get the message:

AttributeError: 'list' object has no attribute 'get'.

What can I do in order to export a "jpg" to excel?

Stefan Wuebbe
  • 2,109
  • 5
  • 17
  • 28
  • 2
    Can you provide a minimum working script that produces the error you stated. It will help others understand and troubleshoot the issue. – Zion Dec 03 '22 at 04:33

0 Answers0