Ilyas KHIAT
commited on
Commit
·
6a371ef
1
Parent(s):
a43071a
ajout context
Browse files- high_chart.py +3 -3
high_chart.py
CHANGED
|
@@ -192,14 +192,14 @@ def test_chart():
|
|
| 192 |
|
| 193 |
emp = st.empty()
|
| 194 |
|
| 195 |
-
col1, col2, col3 = st.columns([
|
| 196 |
|
| 197 |
-
if col1.button("
|
| 198 |
st.session_state['pp_grouped'] = chart.copy()
|
| 199 |
emp.success("Saved")
|
| 200 |
st.experimental_rerun()
|
| 201 |
|
| 202 |
-
if col2.button("
|
| 203 |
if not chart:
|
| 204 |
st.error("Un truc ne va pas. Veuillez réessayer")
|
| 205 |
else:
|
|
|
|
| 192 |
|
| 193 |
emp = st.empty()
|
| 194 |
|
| 195 |
+
col0, col1, col2, col3 = st.columns([1,1,1,1])
|
| 196 |
|
| 197 |
+
if col1.button("Sauvegarder"):
|
| 198 |
st.session_state['pp_grouped'] = chart.copy()
|
| 199 |
emp.success("Saved")
|
| 200 |
st.experimental_rerun()
|
| 201 |
|
| 202 |
+
if col2.button("Télécharger"):
|
| 203 |
if not chart:
|
| 204 |
st.error("Un truc ne va pas. Veuillez réessayer")
|
| 205 |
else:
|