Open JMante1 opened 5 years ago
Thanks for the report @JMante1. @antoinerg, as things stand right now, do you expect HTML formatting to work in Sankey labels? Thanks!
Thank you @JMante1 for reporting this issue!
do you expect HTML formatting to work in Sankey labels?
@jonmmease I expected it to work but it seems like this feature wasn't implemented. I would consider this is a bug. I opened an issue here: https://github.com/plotly/plotly.js/issues/3742
Thanks @antoinerg!
The same happens for parcats
:
The following code:
dim_nuevas = go.parcats.Dimension(
values=df[elecciones_nuevas],
categoryorder='category ascending',
label='Elecciones Nuevas<br>'
)
Will result in:
When using html tags in the labels of a Sankey diagram the html itself is displayed rather than the resolved form (even though in the hover labels it is resolved).
I have added an example of code that generates this error below: