tonyliu404 commited on
Commit
4dd2cf8
·
verified ·
1 Parent(s): f4f3de7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -443,10 +443,10 @@ if recipe_submit and uploaded_image:
443
  if width < min_width:
444
  width = min_width
445
  ax.text(width - 0.02, bar.get_y() + bar.get_height()/2, f'{original_width:.1f}%',
446
- va='center', ha='right', color='white', fontweight='bold', fontsize=14)
447
 
448
  ax.set_xticklabels([]) #remove x label
449
- ax.tick_params(axis='y', colors='white', labelsize=14)
450
 
451
  #no borders
452
  for spine in ax.spines.values():
 
443
  if width < min_width:
444
  width = min_width
445
  ax.text(width - 0.02, bar.get_y() + bar.get_height()/2, f'{original_width:.1f}%',
446
+ va='center', ha='right', color='white', fontweight='bold', fontsize=16)
447
 
448
  ax.set_xticklabels([]) #remove x label
449
+ ax.tick_params(axis='y', colors='white', labelsize=16)
450
 
451
  #no borders
452
  for spine in ax.spines.values():