New line in waterfall text label

Hello, I have a waterfall figure with label like 5000 (1.5% to 2%) how can I make the numbers in parenthesis appear in new line?, tried using \n, not working

sample here
image

any help would be appreciated. TY :slight_smile:

Try <br> instead of \n

See https://help.plot.ly/adding-HTML-and-links-to-charts/ for more info.

1 Like

made it something like this:


str(format(int(round(pur_freq, 2)), ',')) + '<br>' + '(' +

and it works!, now it looks like this

image

TY!!!