数据存储在三个不同的列表中,如下所示:types = ['type1', 'type2', 'type3', 'type4我可以用plotly.graph_objects创建一个堆叠条形图,但是我想用plotly.express创建这个图。labels, y=[sub[i] for sub in counts],
type reference: PX.Data.ReferentialIntegrity.Attributes.PrimaryKeyOf`1/By`1/ForeignKeyOf`1 declared in PX.Datareference: PX.Data.ReferentialIntegrity.Attributes.PrimaryKeyOf`1/By`1/ForeignKeyOf`1/By`1 declared in PX.DataPX.Data.ReferentialIntegrity.Attribut
我试图使用我的“参与者”数据创建一个太阳暴晒图,但是当我尝试这样做时,我会得到一个属性错误:--------------------------------------------------call last)----> 1 px.data.actor
AttributeError: module 'plotly.express.data' has no attribute 'a