fig=make_subplots(rows=2, cols=2,subplot_titles=(‘Overall’,‘Ghotki’,‘Tando Mohammad Khan’),
specs=[[{‘type’:‘domain’}, {‘type’:‘domain’}], [{‘type’:‘domain’} , {‘type’:‘domain’}]])
fig.add_trace(go.Pie(labels=graph_lang.value_counts().index, values=graph_lang.value_counts(), name=‘Overall’,pull=[0.3, 0, 0.1, 0.1]), row=1,col=1)
fig.add_trace(go.Pie(labels=graph_lang1.value_counts().index, values=graph_lang1.value_counts().values, name=‘GHO’,pull=[0.1, 0.1, 0.2, 0]), row=1,col=2)
fig.add_trace(go.Pie(labels=graph_lang2.value_counts().index, values=graph_lang2.value_counts().values, name=‘TMK’,pull=[0, 0, 0.2, 0]), row=2,col=1)
fig.update_layout(title_text=“Usually speak language in Household”, title_x=0.5, title_y=0.95)
fig.update_layout(legend_title_text=‘Language Speak:’)
fig.update_layout(autosize=False, width=650, height=600)
fig.show()
I want figure like triangle shape or side by side all figure show . . Anyone can help me out…
I really tired to solve this issues . . I can’t set domain values like what I want . .