Controlling Barchart Label Orientation?

I’m creating a tool to visualized as stacked barcharts a bunch of data, but the labels keep flipping between a vertical and horizontal orientation.

Is there any way to fix the labels one way or another?

24%20AM

-Brett

Here’s how: https://codepen.io/etpinard/pen/dELXBE

Thanks @etienne - I tried that locally and it didn’t work, but your toy example works for me exactly as I’d expect.

After upgrading from Plotly v1.47 to v1.48 it works! Perhaps there was a bug?

No bug. That feature was added in 1.48.0