Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -81,7 +81,8 @@ with tab2:
|
|
| 81 |
opacity=0.3, # Opacity of the shade (0.3 means 30% transparency)
|
| 82 |
layer='below', # The shade should be below the line plot
|
| 83 |
)
|
| 84 |
-
|
|
|
|
| 85 |
|
| 86 |
# Calculate and display the sum of the selected duration
|
| 87 |
sum_value = filtered_data.loc[start_datetime:end_datetime, filtered_data.columns[-1]].sum()
|
|
|
|
| 81 |
opacity=0.3, # Opacity of the shade (0.3 means 30% transparency)
|
| 82 |
layer='below', # The shade should be below the line plot
|
| 83 |
)
|
| 84 |
+
fig.show()
|
| 85 |
+
#st.plotly_chart(fig)
|
| 86 |
|
| 87 |
# Calculate and display the sum of the selected duration
|
| 88 |
sum_value = filtered_data.loc[start_datetime:end_datetime, filtered_data.columns[-1]].sum()
|