Hello, I’m trying to use Plotly to plot a px.density_heatmap graph and, when doing so, the marker text appears to be disappearing when I display it using Streamlit. The marker text is present, however, if I use the standard Plotly fig.show(). This seems like a bug to me but I thought that I would ask the community to see if anyone else has experienced this and possibly found a workaround. Here is a code snippet of what I’m trying to do:
fig = px.density_heatmap(df, x="pass_end_location_y", y="pass_end_location_x", text_auto=True, nbinsx=7, color_continuous_scale='turbid_r', width=686, height=889) ```
Attached are two images showing how fig.show() and st.plotly_chart(fig)


Thanks!