【发布时间】:2020-05-21 23:05:14
【问题描述】:
当我使用sns.heatmap(data) 时,我的结果总是会被截断。
我用来做这个的代码是:
sns.heatmap(pd.DataFrame([[.2, .2, .3],
[.1, .7, .9],
[.9, .6, .2]],
columns = ['c1', 'c2', 'c3'],
index = ['c1', 'c2', 'c3']),
robust = True, annot = True)
我正在使用 spyder 4.0.1,知道发生了什么吗?
【问题讨论】:
-
你的 matplotlib 版本是多少?
标签: python python-3.x matplotlib seaborn spyder