santosjorge / cufflinks

Productivity Tools for Plotly + Pandas
MIT License
3.03k stars 676 forks source link

error of pie chart in subplots #234

Open hoishing opened 4 years ago

hoishing commented 4 years ago
cf.iplot(
    cf.subplots(
        [cf.datagen.pie(3).figure(kind='pie', values='values', labels='labels') for _ in range(2)]
    )
)

generated a ValueError: Invalid properties specified for object of type plotly.graph_objs.Pie: ('xaxis', 'yaxis')

I think it maybe related to the {'type':'domain'} specs in plotly 4 subplots.

Also, its related to #21