Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 447 |
|
| 448 |
ax.set_xticklabels([]) #remove x label
|
| 449 |
-
ax.tick_params(axis='y', colors='white', labelsize=
|
| 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():
|