sector colors are set in marker.colors.
labels
values
labels = ['Oxygen','Hydrogen','Carbon_Dioxide','Nitrogen...darkorange', 'lightgreen']
# 绘图
fig = go.Figure(data=go.Pie(labels=['Oxygen','Hydrogen','Carbon_Dioxide','Nitrogen...Donut & Pulling sectors
labels = ['Oxygen','Hydrogen','Carbon_Dioxide','Nitrogen']
values = [4500, 2500...labels = ['Oxygen','Hydrogen','Carbon_Dioxide','Nitrogen']
values = [4500, 2500, 1053, 500]
# pull is