I tried to change the text position around, but the labels will not be displayed regardless of position. I don’t have this problem with any of my other figures (bar charts, tables, pie charts) - just with this histogram.
I also tried restarting the notebook kernel, as well as restarting my pc.
I tried your suggestion:
Within the notebook display the Facebook label “6476” was cut in half, the dash display did not change unfortunately.
Edit:
I built another histogram with a different set of data and have the same problem here. I think the issue might be related to the plotly.express.histogram object itself and how it is translated to be displayed on dash.
What I would do is change px.histogram for px.bar (after calculating the count). It should give you the same result but the labels will appear in the app too.