Spaces:
Runtime error
Runtime error
Commit
·
4581391
1
Parent(s):
868386d
Update app.py
Browse files
app.py
CHANGED
@@ -164,9 +164,9 @@ def tweets_localidad(buscar_localidad):
|
|
164 |
colores=["#aae977","#EE3555"]
|
165 |
fig, ax = plt.subplots()
|
166 |
fig.set_size_inches(2, 1)
|
167 |
-
plt.pie(resultado,labels=resultado.index,autopct='%1.1f%%',colors=colores)
|
168 |
-
ax.set_title("Porcentajes por Categorias", fontsize=
|
169 |
-
plt.rcParams.update({'font.size':
|
170 |
ax.legend()
|
171 |
# Muestra el gráfico
|
172 |
plt.show()
|
|
|
164 |
colores=["#aae977","#EE3555"]
|
165 |
fig, ax = plt.subplots()
|
166 |
fig.set_size_inches(2, 1)
|
167 |
+
plt.pie(resultado,labels=resultado.index,autopct='%1.1f%%',colors=colores, fontsize=2)
|
168 |
+
ax.set_title("Porcentajes por Categorias", fontsize=3, fontweight="bold")
|
169 |
+
plt.rcParams.update({'font.size':3, 'font.weight':'bold'})
|
170 |
ax.legend()
|
171 |
# Muestra el gráfico
|
172 |
plt.show()
|