# Subplots with parallel coordinates - not showing second subplot

**URL:** <https://community.plotly.com/t/subplots-with-parallel-coordinates-not-showing-second-subplot/35239>\
**Category:** 📊 Plotly Python\
**Created:** [February 20, 2020, 12:12pm UTC](https://community.plotly.com/t/subplots-with-parallel-coordinates-not-showing-second-subplot/35239 "2020-02-20T12:12:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mare](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@mare](https://community.plotly.com/u/mare)\
**Post date:** [February 20, 2020, 12:12pm UTC](https://community.plotly.com/t/subplots-with-parallel-coordinates-not-showing-second-subplot/35239/1 "2020-02-20T12:12:27Z")

</div>

Dear all,

I would like to create two subplots with parallel coordinates, but it is only plotting the subplot properly.  
Here is my code:

```auto
import pandas as pd
import plotly.graph_objects as go

df_a = pd.DataFrame([[1, 5, 3, 4], [2, 3, 4, 2]], columns = ['A', 'B', 'C', 'D'])
df_b = pd.DataFrame([[10, 23, 35, 41], [12, 13, 14, 15]], columns = ['A', 'B', 'C', 'D'])

fig_com = go.Figure(data = [
    go.Parcoords(
        domain={
            'x': [0, 1],
            'y': [0, 0.23]
        },
        dimensions = list([
            dict(label = 'a', values = df_a['A']),
            dict(label = 'b', values = df_a['B']),
            dict(label = 'c', values = df_a['C']),
            dict(label = 'd', values = df_a['D']),
        ])),
    go.Parcoords(
        domain={
            'x': [0, 1],
            'y': [0.5, 1]
        },
        dimensions = list([
            dict(label = 'a', values = df_b['A']),
            dict(label = 'b', values = df_b['B']),
            dict(label = 'c', values = df_b['C']),
            dict(label = 'd', values = df_b['D']),

        ]))
    ]
)     

fig_com.show()

```

I used pretty much the same code for sankey diagrams and it worked fine. Any ideas what I am doing wrong here?

Best regards  
Mare

---

<div class="post-metadata">

**Author:** ![Emmanuelle](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/emmanuelle/32/7853_2.png) [@Emmanuelle](https://community.plotly.com/u/Emmanuelle)\
**Post date:** [February 20, 2020, 5:42pm UTC](https://community.plotly.com/t/subplots-with-parallel-coordinates-not-showing-second-subplot/35239/2 "2020-02-20T17:42:26Z")

</div>

Hi @mare, welcome to the forum! Unfortunately this is a known issue documented in [https://github.com/plotly/plotly.js/issues/3361](https://github.com/plotly/plotly.js/issues/3361). You can subscribe to the issue to be notified of future developments. In the meantime I think you can only create separate figures.
