Spaces:
Runtime error
Runtime error
Commit
·
3580d3c
1
Parent(s):
cfaf805
Update app.py
Browse files
app.py
CHANGED
@@ -182,6 +182,16 @@ def tweets_localidad(buscar_localidad):
|
|
182 |
plt.show()
|
183 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
184 |
st.pyplot()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
|
186 |
except AttributeError as e:
|
187 |
muestra=st.text("No existe ninguna localidad con ese nombre")
|
|
|
182 |
plt.show()
|
183 |
st.set_option('deprecation.showPyplotGlobalUse', False)
|
184 |
st.pyplot()
|
185 |
+
|
186 |
+
#plt.bar(resultado.index, resultado, color=colores)
|
187 |
+
#ax.set_title("Porcentajes por Categorias", fontsize=5, fontweight="bold")
|
188 |
+
#plt.rcParams.update({'font.size':4, 'font.weight':'bold'})
|
189 |
+
#ax.set_xlabel("Categoría")
|
190 |
+
#ax.set_ylabel("Probabilidad")
|
191 |
+
# Muestra el gráfico
|
192 |
+
#plt.show()
|
193 |
+
#st.set_option('deprecation.showPyplotGlobalUse', False)
|
194 |
+
#st.pyplot()
|
195 |
|
196 |
except AttributeError as e:
|
197 |
muestra=st.text("No existe ninguna localidad con ese nombre")
|