Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -482,7 +482,7 @@ if st.session_state.get('has_prediction', False):
|
|
| 482 |
Patch(facecolor='#10b981', alpha=0.85, label='Increases Salary'),
|
| 483 |
Patch(facecolor='#ef4444', alpha=0.85, label='Decreases Salary')
|
| 484 |
]
|
| 485 |
-
ax.legend(handles=legend_elements, loc='
|
| 486 |
fancybox=True, shadow=True, fontsize=10)
|
| 487 |
|
| 488 |
# Styling
|
|
|
|
| 482 |
Patch(facecolor='#10b981', alpha=0.85, label='Increases Salary'),
|
| 483 |
Patch(facecolor='#ef4444', alpha=0.85, label='Decreases Salary')
|
| 484 |
]
|
| 485 |
+
ax.legend(handles=legend_elements, loc='upper right', frameon=True,
|
| 486 |
fancybox=True, shadow=True, fontsize=10)
|
| 487 |
|
| 488 |
# Styling
|