vgosavi2 commited on
Commit
b194a7c
·
verified ·
1 Parent(s): 572bd34

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -253,9 +253,9 @@ sns.heatmap(
253
  )
254
 
255
  # 3. Set titles/labels with a smaller font
256
- ax.set_title("Top 10 Crime Types by Year", fontsize=14, pad=8)
257
- ax.set_xlabel("Year", fontsize=12, labelpad=6)
258
- ax.set_ylabel("Crime Type", fontsize=12, labelpad=6)
259
 
260
  # Shrink the tick labels
261
  ax.tick_params(axis='x', labelsize=10, rotation=0) # no rotation, smaller font
 
253
  )
254
 
255
  # 3. Set titles/labels with a smaller font
256
+ ax.set_title("Top 10 Crime Types by Year", fontsize=10, pad=8)
257
+ ax.set_xlabel("Year", fontsize=8, labelpad=6)
258
+ ax.set_ylabel("Crime Type", fontsize=8, labelpad=6)
259
 
260
  # Shrink the tick labels
261
  ax.tick_params(axis='x', labelsize=10, rotation=0) # no rotation, smaller font