Joshua1808 commited on
Commit
a1ace41
·
1 Parent(s): 3580d3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -183,15 +183,15 @@ def tweets_localidad(buscar_localidad):
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")
 
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")