如何用热图中的数字和文本来可视化数据?

2024-04-23 18:59:52 发布

您现在位置:Python中文网/ 问答频道 /正文

假设我有以下内容variables:- 你知道吗

words = ["He is a good artist hopefully"]
specs = ["Spec1", "Spec2", "Spec3",
           "Spec4", "Spec5",  "Spec6"]

scores = np.array([[0.1, 0.039, 0.1223, 0.0105, 0.0604, 0.0899]])

如果我想以彩色编码/热图的形式显示,那么将specsscores联系起来的最佳方式是什么


Tags: artistisvariableshegoodwordsscoresspecs