Prasanna1622 commited on
Commit
b242679
·
verified ·
1 Parent(s): ba8bf03

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -25,11 +25,12 @@ st.plotly_chart(px.bar(df, x="Name", y=["Solar_Generation__c", "Wind_Generation_
25
  # 4. Charts (Energy + Alert Breakdown)
26
  display_charts(df)
27
 
28
- import plotly.express as px
29
 
30
  st.subheader("📈 Tilt vs Vibration")
31
 
32
  fig_tv = px.scatter(
 
33
  x="Tilt_Angle__c", # make sure this is your column name
34
  y="Vibration_Level__c", # make sure this is your column name
35
  color="Alert_Level__c",
 
25
  # 4. Charts (Energy + Alert Breakdown)
26
  display_charts(df)
27
 
28
+ import plotly.express as df
29
 
30
  st.subheader("📈 Tilt vs Vibration")
31
 
32
  fig_tv = px.scatter(
33
+ filtered_df,
34
  x="Tilt_Angle__c", # make sure this is your column name
35
  y="Vibration_Level__c", # make sure this is your column name
36
  color="Alert_Level__c",