Spaces:
Running
Running
account for smaller embedding space in plots
Browse files- app_gradio.py +2 -2
app_gradio.py
CHANGED
@@ -470,8 +470,8 @@ def make_embedding_plot(papers_df, top_k, consensus_answer, arxiv_corpus=arxiv_c
|
|
470 |
alphas = np.ones((len(plt_indices),)) * 0.9
|
471 |
alphas[outlier_flag] = 0.5
|
472 |
|
473 |
-
fig = plt.figure(figsize=(9
|
474 |
-
plt.scatter(xax,yax, s=
|
475 |
|
476 |
clkws = np.load('kw_tags.npz')
|
477 |
all_x, all_y, all_topics, repeat_flag = clkws['all_x'], clkws['all_y'], clkws['all_topics'], clkws['repeat_flag']
|
|
|
470 |
alphas = np.ones((len(plt_indices),)) * 0.9
|
471 |
alphas[outlier_flag] = 0.5
|
472 |
|
473 |
+
fig = plt.figure(figsize=(9,9))
|
474 |
+
plt.scatter(xax,yax, s=10, alpha=0.1, c='k')
|
475 |
|
476 |
clkws = np.load('kw_tags.npz')
|
477 |
all_x, all_y, all_topics, repeat_flag = clkws['all_x'], clkws['all_y'], clkws['all_topics'], clkws['repeat_flag']
|