Unable to change font color on Plotly Sankey Charts

Hi @karthick12195

There seems to be a relevant post (Label font color not changing in sankey charts - #3 by Dennis) but yet unresolved.

A possible workaround is to see if CSS customization could help in this situation, as suggested in one of the reply (Sankey text font{color} property not changing font color. · Issue #2845 · plotly/plotly.py · GitHub):


.node-label-text-path {
  fill: rgb(250, 250, 250) !important;
  text-shadow: none
}

Hope this helps!

1 Like