Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -250,7 +250,7 @@ def plot_sdg(df, title, pred_column, icons_folder='assets/icons/'):
|
|
| 250 |
dict(
|
| 251 |
source='data:image/png;base64,' + encoded_image,
|
| 252 |
xref="paper", yref="paper",
|
| 253 |
-
x
|
| 254 |
sizex=0.2, sizey=0.2, # Size of the icon
|
| 255 |
xanchor="left",
|
| 256 |
yanchor="top",
|
|
|
|
| 250 |
dict(
|
| 251 |
source='data:image/png;base64,' + encoded_image,
|
| 252 |
xref="paper", yref="paper",
|
| 253 |
+
x=.98, y=1.0, # Positioning: slightly to the right and top
|
| 254 |
sizex=0.2, sizey=0.2, # Size of the icon
|
| 255 |
xanchor="left",
|
| 256 |
yanchor="top",
|