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

Wrap text in Title

Hi

Is there a way to wrap the text in the title. It looks wrapped when viewing on line, but when we export it is one continuous line, which makes the exported graph image wider than it needs to be.

Thanks

Dave

plotly.js does not wrap long strings at the moment.

It is up to the users to provide their own <br> in the strings.

Has there been any change on this? I am working with responsive plots and in need to have plot titles wrap when the container is smaller than the title width. I think it would be nice to have independent margins for the plot title to force it wrap before it gets close to the plot canvas edges.

Nop.

You can subscribe to https://github.com/plotly/plotly.js/issues/2053 for the latest development info.