Spaces:
Runtime error
Runtime error
Commit
·
a729b39
1
Parent(s):
a80b13f
Update app.py
Browse files
app.py
CHANGED
@@ -181,10 +181,11 @@ def tweets_localidad(buscar_localidad):
|
|
181 |
plt.title('Cantidad de tweets sexistas y no sexistas')
|
182 |
plt.figure(figsize=(10,6))
|
183 |
plt.show()
|
184 |
-
showPyplotGlobalUse
|
|
|
185 |
st.pyplot()
|
186 |
|
187 |
-
|
188 |
except AttributeError:
|
189 |
st.text("No existe ninguna localidad con ese nombre")
|
190 |
|
|
|
181 |
plt.title('Cantidad de tweets sexistas y no sexistas')
|
182 |
plt.figure(figsize=(10,6))
|
183 |
plt.show()
|
184 |
+
st.set_option('deprecation.showPyplotGlobalUse', False)
|
185 |
+
|
186 |
st.pyplot()
|
187 |
|
188 |
+
|
189 |
except AttributeError:
|
190 |
st.text("No existe ninguna localidad con ese nombre")
|
191 |
|