how to understand Seaborn's heatmap annotation format?

后端 未结 3 1648
忘了有多久
忘了有多久 2021-02-15 17:12

I am looking for a way to show \"0.0045\" as \"0.45%\" on seaboarn\'s heatmap by specifying the fmt keyword:

sns.heatmap(data, annot=Tr         


        
3条回答
  •  醉梦人生
    2021-02-15 17:46

    In case you did not know, .1g does not refer to the decimal places, but instead refers to the number of significant figures.

提交回复
热议问题