Pragya Jatav commited on
Commit
5949d90
·
1 Parent(s): 063b96c

aesthetic changes 3

Browse files
__pycache__/response_curves_model_quality_base.cpython-310.pyc CHANGED
Binary files a/__pycache__/response_curves_model_quality_base.cpython-310.pyc and b/__pycache__/response_curves_model_quality_base.cpython-310.pyc differ
 
response_curves_model_quality_base.py CHANGED
@@ -206,10 +206,12 @@ def response_curves(channel,chart_typ):
206
  mode=mode_f1,
207
  name=x_col.replace('_Spends', '')
208
  ))
209
-
 
 
210
  fig.add_trace(go.Scatter(
211
- x=plotly_data[plotly_data['Date'] == plotly_data['Date'].max()][x_col],
212
- y=plotly_data[plotly_data['Date'] == plotly_data['Date'].max()][y_col],
213
  mode='markers',
214
  marker=dict(
215
  size=13 # Adjust the size value to make the markers larger or smaller
 
206
  mode=mode_f1,
207
  name=x_col.replace('_Spends', '')
208
  ))
209
+ plotly_data2 = plotly_data[plotly_data[x_col].isnull()==False]
210
+ # import steamlit as st
211
+ # st.dataframe()
212
  fig.add_trace(go.Scatter(
213
+ x=plotly_data2[plotly_data2['Date'] == plotly_data2['Date'].max()][x_col],
214
+ y=plotly_data2[plotly_data2['Date'] == plotly_data2['Date'].max()][y_col],
215
  mode='markers',
216
  marker=dict(
217
  size=13 # Adjust the size value to make the markers larger or smaller