You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set `automargin=true` ([reference](https://plotly.com/python/reference/layout/xaxis/#layout-xaxis-automargin)) and Plotly will automatically increase the margin size to prevent ticklabels from being cut off or overlapping with axis titles.
---
var data = [
{
x: ['Apples', 'Oranges', 'Watermelon', 'Pears'],
y: [3, 2, 1, 4],
type: 'bar'
}
];
var layout = {
autosize: false,
width: 500,
height: 500,
yaxis: {
title: {
text: 'Y-axis Title',
font: { size: 30 }
},
ticktext: ['long label','Very long label','3','label'],