Spaces:
Sleeping
Sleeping
Update modules/text_analysis/semantic_analysis.py
Browse files
modules/text_analysis/semantic_analysis.py
CHANGED
|
@@ -363,7 +363,7 @@ def visualize_concept_graph(G, lang_code):
|
|
| 363 |
# Barra de color (centralidad)
|
| 364 |
sm = plt.cm.ScalarMappable(
|
| 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 |
|
|
|
|
| 363 |
# Barra de color (centralidad)
|
| 364 |
sm = plt.cm.ScalarMappable(
|
| 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 |
|