diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 2f1b464..2880f6c 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -50,55 +50,55 @@
- {
+ "keyToString": {
+ "Python.AlerteMonitoring.executor": "Run",
+ "Python.Alerte_journalière.executor": "Run",
+ "Python.AlertesSondesSaclay.executor": "Run",
+ "Python.Alertes_Saclay.executor": "Run",
+ "Python.Alertes_Telegram.executor": "Run",
+ "Python.Alertes_saclay.executor": "Run",
+ "Python.Alertes_telegram.executor": "Run",
+ "Python.Base.executor": "Run",
+ "Python.Base2.executor": "Run",
+ "Python.Chat-Id.executor": "Run",
+ "Python.Chaufferie.executor": "Run",
+ "Python.Code_général.executor": "Run",
+ "Python.Connexion_mysql.executor": "Run",
+ "Python.Cuisine_meudon.executor": "Run",
+ "Python.Cuisine_saclay.executor": "Run",
+ "Python.Général.executor": "Run",
+ "Python.Insertion_tables_Msql.executor": "Run",
+ "Python.Lecture_tableau_frigos.executor": "Run",
+ "Python.Monitor.executor": "Run",
+ "Python.Saclay.executor": "Run",
+ "Python.Saclay_buffer.executor": "Run",
+ "Python.Sondes tracker.executor": "Run",
+ "Python.Streamlit.executor": "Run",
+ "Python.Streamlit_Saaclay.executor": "Run",
+ "Python.Streamlit_Saclay.executor": "Run",
+ "Python.Telegram_sondes.executor": "Run",
+ "Python.Test Tables MYSQL.executor": "Run",
+ "Python.Test Tables Sondes.executor": "Run",
+ "Python.Test table Meudon.executor": "Run",
+ "Python.Test table Saclay.executor": "Run",
+ "Python.Test.executor": "Run",
+ "Python.Test_mail.executor": "Run",
+ "Python.Tracker.executor": "Run",
+ "Python.Vérification Triggers.executor": "Run",
+ "Python.Vérification_temperatures_alertes_mail.executor": "Run",
+ "Python.domo91.executor": "Run",
+ "Python.logs_analyses.executor": "Run",
+ "Python.test.executor": "Run",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "RunOnceActivity.git.unshallow": "true",
+ "git-widget-placeholder": "Merging product",
+ "ignore.virus.scanning.warn.message": "true",
+ "last_opened_file_path": "C:/Users/miche/PycharmProjects/Gestion sondes",
+ "settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable",
+ "settings.editor.splitter.proportion": "0.28861153"
}
-}]]>
+}
diff --git a/domo91.py b/domo91.py
index 660249d..0bdbbe0 100644
--- a/domo91.py
+++ b/domo91.py
@@ -171,10 +171,10 @@ if st.session_state["authenticated"]:
sonde_choisie = st.selectbox("🧪 Choisissez une sonde :", sondes)
df_sonde = df[df["Sonde"] == sonde_choisie]
- # Ajouter une colonne Heure pour faciliter les filtres
+# Ajouter une colonne Heure pour faciliter les filtres
df_sonde["Heure"] = df_sonde["Date"].dt.hour
- # Filtrage par tranche horaire
+# Filtrage par tranche horaire
tranche = st.radio("🕒 Tranche horaire :",
["Toute la journée", "Matin (6h-12h)", "Après-midi (12h-18h)", "Nuit (18h-6h)"])
@@ -203,7 +203,7 @@ if st.session_state["authenticated"]:
return ""
- # Appliquer le style uniquement à la colonne "Temperature"
+# Appliquer le style uniquement à la colonne "Temperature"
styled_df = df_filtré.style.applymap(surlignage_temp, subset=["Temperature"])
st.dataframe(styled_df, use_container_width=True)
@@ -218,7 +218,7 @@ if st.session_state["authenticated"]:
ax.xaxis.set_major_formatter(mdates.DateFormatter('%H:%M'))
ax.legend()
st.pyplot(fig)
- # --- Affichage des alertes du jour ---
+# --- Affichage des alertes du jour ---
afficher_alertes = st.toggle("🚨 Afficher les alertes du jour")
if afficher_alertes: