Black Lives Matter. Please consider donating to Black Girls Code today.

Long tick labels still getting cut off - Automargin functionality for Python not working

Automargin functionality for Python Plotly appears to be broken and long tick labels are still getting cut off. I’m doing this for a Dendrogram (images below)

fig[‘layout’].update({‘width’:7000, ‘height’:1000})
fig[‘layout’][‘yaxis’][‘ticktext’] = np.asarray(names)
fig.update_yaxes(side=‘right’,tickangle=0,automargin=True)

image

This appears to have been fixed for the JS version, but not for Python:

2 Likes

Still not fixed for Python. Is there a bug-report on github for this??

1 Like

Same problem here, not working with Plotly 4.4.1 and cufflinks 0.17.0