Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Dash Violin plot with box

$
0
0

@adamchengtkc wrote:

Hi, I am trying to add box in my violin plot in Dash. Below is my code. The violin plots fine but box doesn’t show up. Thanks for helping

    plot= {
        'data': [
            {
                'type': 'violin',
                'x': df['Year'],
                'y': df["Age"],
                'points': False,
                'opacity':0.6,
                'box': "True",
            }
        ],
        'layout': {
            'title':'Graph1',            
        }
    }

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Latest Images

Trending Articles



Latest Images