UCS2014 commited on
Commit
4d09d1c
·
verified ·
1 Parent(s): a514cb7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -294,13 +294,13 @@ def track_plot(df, include_actual=True):
294
  )
295
 
296
  # Add a border rectangle to enclose the full figure space
297
- fig.add_shape(
298
- type="rect",
299
- xref="paper", yref="paper",
300
- x0=0, y0=0, x1=1, y1=1,
301
- line=dict(color="#000", width=1.5),
302
- layer="below"
303
- )
304
 
305
  return fig
306
 
 
294
  )
295
 
296
  # Add a border rectangle to enclose the full figure space
297
+ fig.add_shape(
298
+ type="rect",
299
+ xref="paper", yref="paper",
300
+ x0=-0.12, y0=-0.12, x1=1.12, y1=1.12, # expanded box to include axes titles
301
+ line=dict(color="#000", width=1.5),
302
+ layer="below"
303
+ )
304
 
305
  return fig
306