Hello.
How change color for bar in ProgressColumn in streamlit dataframe?
I found how to change background and text color, but not bar in ProgressColumn.
Hello.
How change color for bar in ProgressColumn in streamlit dataframe?
I found how to change background and text color, but not bar in ProgressColumn.
my code is pretty simple. For change color i use style from pandas.
in current sample “color” parameter - for text color, “background-color” - for background color. But what parameter for progress bar color???
st.dataframe(data=data.style.applymap(lambda _: "color: RoyalBlue;", subset=(['plan'])),
use_container_width=False,
hide_index=True,
column_config={
"Assignee": st.column_config.Column(
"Name",
width="medium"
),
"plan": st.column_config.ProgressColumn(
"Assigned SP",
help="SP in tickets",
format="%.1f",
min_value=0,
max_value=int(data['full'].max()),
))