UPDATE: Okay, I did a complete overhaul of this question. Same question, but now I implemented my own code.
To start this off, all a, b, c, d and e are columns within a data frame that I will be doing a permutation of only 3 combinations at a time like the following:
data = list(iter.permutations([a, b, c, d, e], 3)
Then, I do the following to use a specific row within my data frame to find a single point on my graph:
specData = list(iter.permutations(spec[a.name], spec[b.name], spec[c.name],
spec[d.name], spec[e.name], 3)
Then, I will loop to display every possible graph due to my permutation. All of this works in my code and displays them correctly. I left out the non-needed part which is creating the format of the graph since none of that actually matters in this question:
for i in range(len(data)):
plt.scatter(data[i][0] - data[i][1], data[i][0] - data[I][2], edgecolors=‘b’)
plt.scatter(specData[i][0] - specData[i][1], specData[i][0] - specData[i][2],
edgecolors=‘r’)
On my previous graphs using data frames, I was able to display the names of the labels by creating them like this and graphing them one-by-one:
plt.xlabel(a.name + ‘-‘ + b.name)
plt.ylabel(a.name + ‘-‘ + c.name)
The output from the labels above would look like this on the graph's x and y labels:
a-b
a-c
Now, I'm not sure how to display names with a list like I do with a data frame, especially when its going to be "random" each time I loop a new tuple within a list, so I can't just hard-code it to be a, b, c, d, or e since I have no idea. I was assuming to use a dictionary, but I’m not sure how I would go about it.