回答編集履歴
1
コード修正
test
CHANGED
@@ -16,6 +16,8 @@
|
|
16
16
|
↓ 変更
|
17
17
|
```python
|
18
18
|
heat_map = sns.heatmap(df)
|
19
|
-
heat_map.set_yticks(np.arange(0, df.shape[0], 0.1*
|
19
|
+
heat_map.set_yticks(np.arange(0, df.shape[0], 0.1*df.shape[0]).astype('int'))
|
20
|
-
heat_map.set_yticklabels((np.arange(0, df.shape[0], 0.1*
|
20
|
+
heat_map.set_yticklabels((np.arange(0, df.shape[0], 0.1*df.shape[0])/df.shape[0]).round(1))
|
21
21
|
```
|
22
|
+
|
23
|
+
で、一番下の「1.0」以外は表示されると思います
|