# Dash Violin plot with box

**URL:** <https://community.plotly.com/t/dash-violin-plot-with-box/33221>\
**Category:** Dash Python\
**Created:** [January 5, 2020, 3:13pm UTC](https://community.plotly.com/t/dash-violin-plot-with-box/33221 "2020-01-05T15:13:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamchengtkc](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@adamchengtkc](https://community.plotly.com/u/adamchengtkc)\
**Post date:** [January 5, 2020, 3:13pm UTC](https://community.plotly.com/t/dash-violin-plot-with-box/33221/1 "2020-01-05T15:13:08Z")

</div>

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

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

```
