def drawPoint(self, radius, dataPoint): ac.glColor3f(0.2, 1.0, 0.2) self.drawCircle(radius, dataPoint) ac.glColor3f(1.0, 1.0, 1.0) self.drawCircumference(radius, dataPoint)
def drawScatterPlot(self, colourFades, dataPoints): for dataPoint, colour in zip(dataPoints, colourFades): ac.glColor4f(*colour) self.drawCircle(self.scatterSize, dataPoint) ac.glColor3f(1.0, 1.0, 1.0)