Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 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 |
|