Spaces:
Runtime error
Runtime error
Commit ·
7f4632e
1
Parent(s): c78f269
Update app.py
Browse files
app.py
CHANGED
|
@@ -145,7 +145,8 @@ def main():
|
|
| 145 |
st.dataframe(emoji_df)
|
| 146 |
with col2:
|
| 147 |
fig,ax = plt.subplots()
|
| 148 |
-
plt.rcParams[
|
|
|
|
| 149 |
ax.pie(emoji_df[1].head(min(5,emoji_df.shape[0])),labels=emoji_df[0].head(min(5,emoji_df.shape[0])),autopct="%0.2f")
|
| 150 |
st.pyplot(fig)
|
| 151 |
|
|
|
|
| 145 |
st.dataframe(emoji_df)
|
| 146 |
with col2:
|
| 147 |
fig,ax = plt.subplots()
|
| 148 |
+
plt.rcParams["font.monospace"] = ["Segoe UI Emoji"]
|
| 149 |
+
plt.rcParams["font.family"] = "monospace"
|
| 150 |
ax.pie(emoji_df[1].head(min(5,emoji_df.shape[0])),labels=emoji_df[0].head(min(5,emoji_df.shape[0])),autopct="%0.2f")
|
| 151 |
st.pyplot(fig)
|
| 152 |
|