My bar chart in Dash does not display the whole bar but just a line marking the highest value of the corresponding bar.
Find below my code.
The dataframe is normally set up, meaning for each X there is one Y
def update_graph3(start_date, end_date, selection): global df_r lag = 6 df_r_filter = RC.create_timeseries(df_r, start_date, end_date, selection) df_weights = RC.create_portfolio_weights(df_r_filter, lag) mcr_rp, _, _ = RC.create_mcr(df_r_filter, 1_000_000, df_weights) fig = go.Figure(go.Box( x = mcr_rp.index, y = mcr_rp['Daily_d_VaR'])) return fig
Thanks for your help!