jfataphd commited on
Commit
141a2d5
·
1 Parent(s): d163ca5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -261,7 +261,7 @@ if query:
261
  # Add label for the query above the diamond
262
  fig.add_trace(go.Scatter(x=[model.wv[query][0]], y=[model.wv[query][1]], mode='text', text=[query],
263
  textposition='top right', textfont=dict(color='blue', size=10), hoverinfo='none',
264
- showlegend=False, layer='above traces'))
265
 
266
  # Add circles for the top 50 similar words
267
  fig.add_trace(go.Scatter(x=X_top[:, 0], y=X_top[:, 1], mode='markers',
 
261
  # Add label for the query above the diamond
262
  fig.add_trace(go.Scatter(x=[model.wv[query][0]], y=[model.wv[query][1]], mode='text', text=[query],
263
  textposition='top right', textfont=dict(color='blue', size=10), hoverinfo='none',
264
+ showlegend=False))
265
 
266
  # Add circles for the top 50 similar words
267
  fig.add_trace(go.Scatter(x=X_top[:, 0], y=X_top[:, 1], mode='markers',