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