vgosavi2 commited on
Commit
b7140d3
·
verified ·
1 Parent(s): 8c8bd2c

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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