Thursday 7 January 2021

Remove font's shadow in Sankey

Is it possible to remove the white shadow of the font in the following sankey diagram?

enter image description here

    import plotly.graph_objects as go
    
    fig = go.Figure(go.Sankey(
        arrangement = "snap",
        node = {
            "label": ["A", "B", "C", "D", "E", "F"],
            "x": [0.2, 0.1, 0.5, 0.7, 0.3, 0.5],
            "y": [0.7, 0.5, 0.2, 0.4, 0.2, 0.3],
            'pad':10},  # 10 Pixels
        link = {
            "source": [0, 0, 1, 2, 5, 4, 3, 5],
            "target": [5, 3, 4, 3, 0, 2, 2, 3],
            "value": [1, 2, 1, 1, 1, 1, 1, 2]}))
    
    fig.show()


from Remove font's shadow in Sankey

No comments:

Post a Comment