Hi! I am a young programmer building my first Streamlit app and I have added a feature of bars inside of dataframe like in the picture below. When I run the app locally, it looks fine; however, when app is deployed, bars don’t show. Here is also a slice of code for creating styled tables I use:
green = "#8BEDBE"
yellow = "#F1F114"
red = "#E76350"
idx = ["positive", "neutral", "negative"]
colors = [green, yellow, red]
for target in ["ctr", "cr"]:
target_max = df.loc[idx, target].max()
for row, color in zip(idx, colors):
df_style = df_style.bar(
subset=(row, target), axis=0, width=70, color=color, vmin=0, vmax=target_max
)
Thanks for any help in advance!