Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -455,7 +455,10 @@ class ClimateApp(pn.viewable.Viewer):
|
|
455 |
def _update_oni_plot(self):
|
456 |
df = self._oni_df
|
457 |
df_year = df.loc[df["year"] == self.year]
|
458 |
-
|
|
|
|
|
|
|
459 |
|
460 |
overlay = hv.Overlay([])
|
461 |
for oni in df_year["oni"].unique():
|
|
|
455 |
def _update_oni_plot(self):
|
456 |
df = self._oni_df
|
457 |
df_year = df.loc[df["year"] == self.year]
|
458 |
+
try:
|
459 |
+
df_year.iloc[-1, -1] = 365
|
460 |
+
except:
|
461 |
+
pass
|
462 |
|
463 |
overlay = hv.Overlay([])
|
464 |
for oni in df_year["oni"].unique():
|