kubotahi commited on
Commit
97171f4
1 Parent(s): 73231e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,8 +62,8 @@ def plot_graph(file):
62
 
63
  # クラスターの中心に印と文字を追加
64
  for i, center in enumerate(centers):
65
- plt.scatter(center[0], center[1], c='#ff0000', s=50, alpha=0.75, marker='o')
66
- plt.text(center[0], center[1]+4, f'Cluster {i}', color='#ff0000', fontsize=16, ha='center', va='center')
67
 
68
  # XY軸の表示なし
69
  plt.axis('off')
 
62
 
63
  # クラスターの中心に印と文字を追加
64
  for i, center in enumerate(centers):
65
+ plt.scatter(center[0], center[1], c='#ff0000', s=50, alpha=0.6, marker='o')
66
+ plt.text(center[0], center[1] + 5, f'Cluster {i}', color='#ff0000', fontsize=32, alpha=0.6, ha='center', va='center')
67
 
68
  # XY軸の表示なし
69
  plt.axis('off')