marksverdhei commited on
Commit
c0f5faa
·
1 Parent(s): 841ea1b

Test without events

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -10,7 +10,7 @@ from tqdm import tqdm
10
  import plotly.express as px
11
  import numpy as np
12
  from sklearn.decomposition import PCA
13
- from streamlit_plotly_events import plotly_events
14
  import plotly.graph_objects as go
15
  import logging
16
  import utils
@@ -109,8 +109,9 @@ col1, col2 = st.columns([3, 1]) # Adjusting ratio to allocate space for the car
109
 
110
  with col1:
111
  # Main content stays here (scatterplot, form, etc.)
112
- selected_points = plotly_events(fig, click_event=True, hover_event=False, #override_height=600, override_width="100%"
113
- )
 
114
  with st.form(key="form1_main"):
115
  if selected_points:
116
  clicked_point = selected_points[0]
 
10
  import plotly.express as px
11
  import numpy as np
12
  from sklearn.decomposition import PCA
13
+ # from streamlit_plotly_events import plotly_events
14
  import plotly.graph_objects as go
15
  import logging
16
  import utils
 
109
 
110
  with col1:
111
  # Main content stays here (scatterplot, form, etc.)
112
+ # selected_points = plotly_events(fig, click_event=True, hover_event=False,
113
+ # )
114
+ selected_points = None
115
  with st.form(key="form1_main"):
116
  if selected_points:
117
  clicked_point = selected_points[0]