Балаганский Никита Николаевич commited on
Commit
ca4bc58
1 Parent(s): 92ec35a

add scatter tip

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -84,6 +84,7 @@ def main():
84
  "yaxis": {"title": "CAIF step probability"},
85
  "xaxis": {"title": "Entropy threshold"},
86
  "template": "plotly_white",
 
87
  })
88
 
89
  language = st.selectbox("Language", ("English", "Russian"))
@@ -116,7 +117,7 @@ def main():
116
  "mode": "markers"
117
  })
118
  figure = go.Figure(data=[scatter, scatter_tip], layout=layout)
119
- figure.update_layout(paper_bgcolor="#000000")
120
  st.plotly_chart(figure)
121
  auth_token = os.environ.get('TOKEN') or True
122
  fp16 = st.checkbox("FP16", value=True)
 
84
  "yaxis": {"title": "CAIF step probability"},
85
  "xaxis": {"title": "Entropy threshold"},
86
  "template": "plotly_white",
87
+ "legend": {"visible": False}
88
  })
89
 
90
  language = st.selectbox("Language", ("English", "Russian"))
 
117
  "mode": "markers"
118
  })
119
  figure = go.Figure(data=[scatter, scatter_tip], layout=layout)
120
+ figure.update_layout(paper_bgcolor="#FFFFFF", plot_bgcolor='#FFFFFF')
121
  st.plotly_chart(figure)
122
  auth_token = os.environ.get('TOKEN') or True
123
  fp16 = st.checkbox("FP16", value=True)