'plotting two graphs on same row / creating create
df = pd_df_total_primary_Y.set_index('EthnicGroups_EthnicGroup1Desc')
df1 = pd_df_total_general_Y.set_index('EthnicGroups_EthnicGroup1Desc')
df[["P_Y_Count20", "P_Y_Count16", "P_Y_Count12", "P_Y_Count08","P_Y_Count04", "P_Y_Count00"]].plot.bar()
plt.title('total_primary_Y');
df1[["G_Y_Count20", "G_Y_Count16", "G_Y_Count12", "G_Y_Count08", "G_Y_Count04", "G_Y_Count00"]].plot.bar()
plt.title('total_general_Y');
I am trying to plot these graph on the same row and then add two more graphs below them. I am struggling to get it to work. how can i do it?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
