Textangle=0 sometimes shrinks text on bars in bar chart

Take this code for starters, which Iโ€™m running using Plotly 5.24.1 in a Jupyter notebook in VSCode. Plotly automatically decides to draw some of the text where it fits, drawing 130 inside the bar and 1 outside the bar. The 6 however gets rotated, making it indistinguishable from a 9.

from plotly import express as px
fig = px.bar(
	y=[6, 1, 130],
	x=['a', 'b', 'c'],
	text_auto=True,
)
fig.show()

If you disable the rotation with textangle=0, it instead makes the 6 unreadably small, instead of moving it outside the bar.

from plotly import express as px
fig = px.bar(
	y=[6, 1, 130],
	x=['a', 'b', 'c'],
	text_auto=True,
)
fig.update_traces(textangle=0)
fig.show()

I canโ€™t find any way to make it position it correctly. If you make it always draw text outside the bars with textposition='outside', it may draw some of them outside the diagram instead, so thatโ€™s not an option.

uniformtext doesnโ€™t help either, as the only option there is to hide the 6 or make it overflow the bar.

Is there any way to get it to display this properly?

In my environment (plotly:5.24.1,jupyterlab:5.2.5) the text was displayed correctly without rotation in both cases.

You might need to adjust the height of the rightmost bar depending on how itโ€™s rendered. Replace 130 with a higher number if the 6 is inside the bar but looks normal, or with a lower number if the 6 is outside the bar. If I run in jupyterlab, it happens if I replace the 130 with 80.

I tried adding a limit on the y-axis and the text appears in the bar chart, but the text does not rotate.

fig.update_traces(textangle=0)
fig.update_yaxes(range=[0,80])
fig.show()

The exact sizing may depend on the environment, but I at least see it here: Python-Fiddle: Online Python Compiler, IDE, and Interpreter