回答編集履歴

1

Update

2021/12/08 02:38

投稿

melian
melian

スコア19825

test CHANGED
@@ -24,13 +24,15 @@
24
24
 
25
25
  plt.plot(
26
26
 
27
- [x], [y], color=colors[j], marker=markers[i], markersize=12)
27
+ [x], [y], color=colors[j], marker=markers[i], markersize=12)
28
28
 
29
29
  i, j = (i + 1) % len(markers), (j + 1) % len(colors)
30
30
 
31
31
  cnt += 1
32
32
 
33
+ leg = plt.legend(
34
+
33
- leg = plt.legend([f'クリック回数 {cnt}'], handletextpad=-2.0, loc='upper right')
35
+ [f'クリック回数 {cnt}'], handletextpad=-2.0, loc='upper right')
34
36
 
35
37
  leg.legendHandles[0].set_visible(False)
36
38