Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ def get_plot(ticker1, ticker2, m_widget, similarity_rank_widget, date_start, dat
|
|
| 137 |
width=500,
|
| 138 |
height=400,
|
| 139 |
show_grid=True,
|
| 140 |
-
ylim=(
|
| 141 |
)
|
| 142 |
motif2 = DF2.iloc[ticker2_motif_index : ticker2_motif_index + m]
|
| 143 |
motif2_plot = motif2.hvplot.line(y=varcol, color="red")
|
|
|
|
| 137 |
width=500,
|
| 138 |
height=400,
|
| 139 |
show_grid=True,
|
| 140 |
+
ylim=(DF2[varcol].min(), DF2[varcol].max()),
|
| 141 |
)
|
| 142 |
motif2 = DF2.iloc[ticker2_motif_index : ticker2_motif_index + m]
|
| 143 |
motif2_plot = motif2.hvplot.line(y=varcol, color="red")
|