-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sankey: node labels do not render HTML tags #3742
Comments
Related: #2859 (might be nice to tackle these two bugs at the same time) |
This seems similar to the issue reported and solved here: #1792 |
@JMante1 your hypothesis sounds right to me. Wanna try making a PR for us? Thanks! |
Hi, I am having trouble compiling the plotly library on my computer to test the hypothesis. I do have a forked branch with the edits that I think should work though. |
Any news on that issue ? |
Hi, I am also eagerly waiting the bug fix. Any news?? Thank you in advance! |
Same issue here, there is any news about it? |
I had a look at it but couldn't get it to work. The same solution doesn't work as I proposed above. I think that is because for the bar you have text append whereas for sankey it is just node label. I can get something that looks somewhat right if you change 1047 in render.js in sankey as shown below. However, this only fixes the display of links and not breaks, additionally links do not appear to be clickable though if you right click and say open in a new tab then it does take you to the correct website.
|
FYI we cannot use |
As reported on plotly.py: plotly/plotly.py#1499
Note that in hover labels, HTML tags are rendered properly.
See Codepen: https://codepen.io/antoinerg/pen/XQNjNE
The text was updated successfully, but these errors were encountered: