Spaces:
Sleeping
Sleeping
Update app/daily.py
Browse files- app/daily.py +1 -0
app/daily.py
CHANGED
|
@@ -57,6 +57,7 @@ def plot_candlestick(df, symbol):
|
|
| 57 |
legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1)
|
| 58 |
)
|
| 59 |
|
|
|
|
| 60 |
return pio.to_html(fig, full_html=False, include_plotlyjs='cdn')
|
| 61 |
|
| 62 |
# ===========================================================
|
|
|
|
| 57 |
legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1)
|
| 58 |
)
|
| 59 |
|
| 60 |
+
# Include Plotly JS only once
|
| 61 |
return pio.to_html(fig, full_html=False, include_plotlyjs='cdn')
|
| 62 |
|
| 63 |
# ===========================================================
|