Plotly: Plot multiple figures as subplots

前端 未结 4 1367
既然无缘
既然无缘 2020-12-24 08:22

These resources show how to take data from a single Pandas DataFrame and plot different columns subplots on a Plotly graph. I\'m interested in creating figures from separate

4条回答
  •  -上瘾入骨i
    2020-12-24 09:16

    You can also try the following using cufflinks:

    cf.subplots([df1.figure(kind='bar',categories='category'),
             df2.figure(kind='bar',categories='category')],shape=(2,1)).iplot()
    

    And this should give you:

提交回复
热议问题