Spaces:
Sleeping
Sleeping
Update modules/text_analysis/semantic_analysis.py
Browse files
modules/text_analysis/semantic_analysis.py
CHANGED
|
@@ -365,7 +365,7 @@ def visualize_concept_graph(G, lang_code):
|
|
| 365 |
cmap=plt.cm.viridis,
|
| 366 |
norm=plt.Normalize(vmin=0, vmax=1)
|
| 367 |
sm.set_array([])
|
| 368 |
-
plt.colorbar(sm, ax=ax, label=translations['concept_centrality'])
|
| 369 |
|
| 370 |
# Título del gráfico
|
| 371 |
plt.title(translations['concept_network'], pad=20, fontsize=14)
|
|
|
|
| 365 |
cmap=plt.cm.viridis,
|
| 366 |
norm=plt.Normalize(vmin=0, vmax=1)
|
| 367 |
sm.set_array([])
|
| 368 |
+
plt.colorbar(sm, ax=ax, label=translations['concept_centrality']))
|
| 369 |
|
| 370 |
# Título del gráfico
|
| 371 |
plt.title(translations['concept_network'], pad=20, fontsize=14)
|