Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -454,7 +454,7 @@ class ClimateApp(pn.viewable.Viewer):
|
|
454 |
@param.depends("year", watch=True)
|
455 |
def _update_oni_plot(self):
|
456 |
df = self._oni_df
|
457 |
-
df_year = df.loc[df["year"] ==
|
458 |
df_year.iloc[-1, -1] = 365
|
459 |
|
460 |
overlay = hv.Overlay([])
|
|
|
454 |
@param.depends("year", watch=True)
|
455 |
def _update_oni_plot(self):
|
456 |
df = self._oni_df
|
457 |
+
df_year = df.loc[df["year"] == self.year]
|
458 |
df_year.iloc[-1, -1] = 365
|
459 |
|
460 |
overlay = hv.Overlay([])
|