✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Can legend text width be changed?

Hi there,

I’ve been fighting with this for a while now. I make a line plot with the legend. But the legend text is now wrapped as well as it is not extended automatically. So things like this happen when part of legend text is just cut off. Is there a way to fix it?Screen Shot 2020-03-06 at 13.02.05

Second legend text must be “# of Dev Plans Edited”

I tried playing with the text itself, just coming up with shorter names but it just makes the legend narrower and the same problem occurs.

Is there any way to fix this?

I would first try changing the margins on the plot itself as it looks like that it what’s cutting it off!https://plot.ly/python/setting-graph-size/

Thanks! The problem is that I want to position legend above the plot. Like this

I tried playing with margins, but obviously it has no impact on the legend.