I created horizontal bar chart in Plotly-dash, but bar text size doesn’t fit to the figure size, so part of the text is cut (please see red-framed area on the screenshot attached).
I tried the following:
- Changing left and right margin in figure layout. The whole figure is moving, but the text remains cut.
- Setting ‘offset’ in figure data. I’ve got vertical offset of bars, but not horizontal offset of the figure area.
Then I tried to add option cliponaxis = False. Text become visible, but overlaps axis labels, still not expected behaviour:
I will highly appreciate if somebody could advice how to fix it.