I'm trying to plot a number of points such that each has a colour that depends on a certain parameter. I have two lists, points and heights, and I would like to do something like this:
for i in range(len(points)):

This creates len(points) different graphics, so it's not what I want. What do I need to change?