Open ttusar opened 4 years ago
@nicolaskruchten @wbrgss I'm seeing the same thing with Dash Design Kit
Here is a graph with a theme applied that looks OK
Here is the Sankey:
For good measure I tried forcibly setting the textfont_color like this:
fig = fig.update_traces(textfont_color=theme["text"], selector=dict(type='sankey'))
But as reported by @ttusar it seems to have no effect.
When specifying
textfont
in a Sankey diagram like this:textfont=dict(color="blue", size=50)
thecolor
is ignored, whilesize
works correctly.A MWE with two figures. The first one has black nodes and (tiny) text, which is correct.
The second one has blue nodes, which is correct, but the text is black when it should be blue.
I'm using plotly version 4.9.0.
Is the color specification above wrong or is this a bug?