sadickam commited on
Commit
d7675d7
·
verified ·
1 Parent(s): 1b13ab6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -220,7 +220,7 @@ def plot_sdg(df, title, pred_column, icons_folder='assets/icons/'):
220
  ),
221
  margin=dict(l=20, r=150, t=30, b=20), # Increased right margin for icon
222
  height=600,
223
- width=700, # Increased width to accommodate the icon
224
  showlegend=False,
225
  template="simple_white",
226
  xaxis=dict(
@@ -249,7 +249,7 @@ def plot_sdg(df, title, pred_column, icons_folder='assets/icons/'):
249
  dict(
250
  source='data:image/png;base64,' + encoded_image,
251
  xref="paper", yref="paper",
252
- x=1.05, y=1, # Positioning: slightly to the right and top
253
  sizex=0.2, sizey=0.2, # Size of the icon
254
  xanchor="left",
255
  yanchor="top",
 
220
  ),
221
  margin=dict(l=20, r=150, t=30, b=20), # Increased right margin for icon
222
  height=600,
223
+ width=600, # Increased width to accommodate the icon
224
  showlegend=False,
225
  template="simple_white",
226
  xaxis=dict(
 
249
  dict(
250
  source='data:image/png;base64,' + encoded_image,
251
  xref="paper", yref="paper",
252
+ x=0.5, y=1.05, # Positioning: slightly to the right and top
253
  sizex=0.2, sizey=0.2, # Size of the icon
254
  xanchor="left",
255
  yanchor="top",