Spaces:
Build error
Build error
anaucoin commited on
Commit ·
0526aae
1
Parent(s): eb784b8
logo centering (ish)
Browse files
app.py
CHANGED
|
@@ -436,17 +436,17 @@ def runapp() -> None:
|
|
| 436 |
fig.add_trace(go.Scatter(x=dfdata['Exit Date'], y=np.round(buyhold.values,2), line_shape='spline',
|
| 437 |
line = {'smoothing': .7, 'color' :'rgba(33, 212, 225, 1)'}, name = 'Buy & Hold')
|
| 438 |
)
|
| 439 |
-
|
|
|
|
| 440 |
fig.add_layout_image(
|
| 441 |
dict(
|
| 442 |
source=pyLogo,
|
| 443 |
xref="paper",
|
| 444 |
yref="paper",
|
| 445 |
-
x = 0.
|
| 446 |
-
y =
|
| 447 |
-
sizex=
|
| 448 |
-
sizey=
|
| 449 |
-
sizing="contain",
|
| 450 |
opacity=0.5,
|
| 451 |
layer = "below")
|
| 452 |
)
|
|
|
|
| 436 |
fig.add_trace(go.Scatter(x=dfdata['Exit Date'], y=np.round(buyhold.values,2), line_shape='spline',
|
| 437 |
line = {'smoothing': .7, 'color' :'rgba(33, 212, 225, 1)'}, name = 'Buy & Hold')
|
| 438 |
)
|
| 439 |
+
img_width = 2001
|
| 440 |
+
img_height = 622
|
| 441 |
fig.add_layout_image(
|
| 442 |
dict(
|
| 443 |
source=pyLogo,
|
| 444 |
xref="paper",
|
| 445 |
yref="paper",
|
| 446 |
+
x = 0.1,
|
| 447 |
+
y = 1,
|
| 448 |
+
sizex= 1,
|
| 449 |
+
sizey= 1,
|
|
|
|
| 450 |
opacity=0.5,
|
| 451 |
layer = "below")
|
| 452 |
)
|