I have this list of "coordinates":
myList = [[0.7366771159874608, 0.6270718232044199], [0.7382352941176471, 0.6710182767624021], [0.7967479674796748, 0.656441717791411], [0.7296511627906976, 0.5727109515260324], [0.7992700729927007, 0.5833333333333334], [0.750788643533123, 0.5288888888888889], [0.851063829787234, 0.7423312883435583], [0.767515923566879, 0.5525114155251142]]
I want to create a grouped bar plot so that each of this pairs is close. The names of the column are just numbered from I to 8. I looked on the internet but it doesn't seem to me other people had this problem.
My code:
import matplotlib.pyplot as plt
x, y = zip(*mylist)
group_labels = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII']
plt.bar(x, y)
plt.title("Trial")
plt.show()
How should I change my dataset in order to achieve my goal?

list()unusable. However, I do not understand your desired output. What is a stacked bar chart of x,y coordinates? What is stacked here in each group? Can you provide a sample output from the internet?xismen_means,yiswomen_means, andgroup_labelsislabels. Of course, you should rename yourx- the sample code also uses a variablexfor a different purpose.