Can I provide more space for tick marks in plotly.js ? Long shortcuts in my charts are cropped.

HTML:
<div id="plot"></div>
JavaScript:
var data = [{ type: 'bar', x: [20, 14, 23], y: ['giraffes', 'orangutans', 'a looooooooong string'], orientation: 'h' }]; var layout = { title: 'Bar Chart' }; Plotly.newPlot('plot', data, layout);
I donβt see how to do this in the API for setting the y-axis checkbox .
Given the nature of my diagrams, I need to use horizontal orientation. Therefore, the solution I cannot use is vertical orientation with ticks rotated 90 degrees.
Ollie glass
source share