# Getting Vertical lines while plotting multiple line plots in dash

**URL:** <https://community.plotly.com/t/getting-vertical-lines-while-plotting-multiple-line-plots-in-dash/39346>\
**Category:** Dash Python\
**Tags:** show-and-tell\
**Created:** [May 13, 2020, 10:54am UTC](https://community.plotly.com/t/getting-vertical-lines-while-plotting-multiple-line-plots-in-dash/39346 "2020-05-13T10:54:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arham2121](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@arham2121](https://community.plotly.com/u/arham2121)\
**Post date:** [May 13, 2020, 10:54am UTC](https://community.plotly.com/t/getting-vertical-lines-while-plotting-multiple-line-plots-in-dash/39346/1 "2020-05-13T10:54:37Z")

</div>

Hi,  
I’m facing issue with mutiple line plot in Dash, actually it is showing some unnecessary vertical line sometime opposite to my data.  
I’m adding the code and image below.

```auto
cols = ['col1', 'col2']
m_data = [
            {
                'x': data['date'],
                'y': data[col],
            }
            for col in cols[:2]
        ]

        return {"data": m_data, layout={} }

```

 ![image](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/0/04060a489811e47f7c4475f5371bd4164a9e24bf.png)
