diff --git a/app/odi_streamlit.py b/app/odi_streamlit.py index 5fd3303..e4aee92 100644 --- a/app/odi_streamlit.py +++ b/app/odi_streamlit.py @@ -1525,7 +1525,6 @@ def get_chart_82052330(df: pd.DataFrame, liste: list[str], titre: str) -> None: st.write(data["Age"]) #creer une treemap -st.plotly_chart(fig) fig = px.treemap(data, path=[data["Age"]],hover_data=[data["Age"]], color= data["Age"],color_discrete_map = { @@ -1620,7 +1619,7 @@ def get_chart_82052330(df: pd.DataFrame, liste: list[str], titre: str) -> None: fig = px.treemap(data, path=[data["Ethnicites"]], title="Répartition de l'ethnicité des personnages", - color_discrete_sequence=["#e44f43","#0b5773", + color_discrete_sequence=["#d3c922","#7bc0ac", ], ) fig.update_traces(marker={"cornerradius": 5}) @@ -1654,7 +1653,7 @@ def get_chart_82052330(df: pd.DataFrame, liste: list[str], titre: str) -> None: "Positive": "#0b5773", "Négative":"#d35a4b", "Neutre": "#7bc0ac", - "C'est compliqué": "#d3c922", + "C'est compliqué": "#D3B4E6", }, title="Répartition des sentiments envers les personnages", )