Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,17 +53,6 @@ st.dataframe(filtered_df)
|
|
53 |
# Show charts
|
54 |
display_charts(filtered_df)
|
55 |
|
56 |
-
# Tilt vs Vibration Scatter Plot
|
57 |
-
st.subheader("📈 Tilt vs Vibration")
|
58 |
-
fig_tv = px.scatter(
|
59 |
-
filtered_df,
|
60 |
-
x="Tilt_Angle__c=Location_Latitude__c",
|
61 |
-
y="Vibration_Level__c=Location_Longitude__c",
|
62 |
-
color="Alert_Level__c",
|
63 |
-
hover_name="Name",
|
64 |
-
title="Tilt Angle vs Vibration Level"
|
65 |
-
)
|
66 |
-
st.plotly_chart(fig_tv)
|
67 |
|
68 |
# 1. System Summary (Show first)
|
69 |
display_dashboard(df)
|
@@ -81,14 +70,4 @@ display_charts(df)
|
|
81 |
|
82 |
import plotly.express as df
|
83 |
|
84 |
-
st.subheader("📈 Tilt vs Vibration")
|
85 |
|
86 |
-
fig_tv = px.scatter(
|
87 |
-
filtered_df,
|
88 |
-
x="Tilt_Angle__c", # make sure this is your column name
|
89 |
-
y="Vibration_Level__c", # make sure this is your column name
|
90 |
-
color="Alert_Level__c",
|
91 |
-
hover_name="Name",
|
92 |
-
title="Tilt Angle vs Vibration Level"
|
93 |
-
)
|
94 |
-
st.plotly_chart(fig_tv)
|
|
|
53 |
# Show charts
|
54 |
display_charts(filtered_df)
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
# 1. System Summary (Show first)
|
58 |
display_dashboard(df)
|
|
|
70 |
|
71 |
import plotly.express as df
|
72 |
|
|
|
73 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|