Spaces:
Build error
Build error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +3 -1
src/streamlit_app.py
CHANGED
|
@@ -237,7 +237,9 @@ sns.heatmap(
|
|
| 237 |
annot=True,
|
| 238 |
fmt="d",
|
| 239 |
cmap="YlOrRd",
|
| 240 |
-
ax=ax
|
|
|
|
|
|
|
| 241 |
)
|
| 242 |
|
| 243 |
# 3. Set titles/labels on the Axes
|
|
|
|
| 237 |
annot=True,
|
| 238 |
fmt="d",
|
| 239 |
cmap="YlOrRd",
|
| 240 |
+
ax=ax,
|
| 241 |
+
annot_kws={"size": 6}, # smaller numbers in cells
|
| 242 |
+
cbar_kws={"shrink": 0.5} # shrink the colorbar
|
| 243 |
)
|
| 244 |
|
| 245 |
# 3. Set titles/labels on the Axes
|