8 ga = (3 - numpy.sqrt(5)) * numpy.pi
11 theta = ga * numpy.arange(num_points)
14 z = numpy.linspace(1/num_points-1, 1-1/num_points, num_points)
17 radius = numpy.sqrt(1 - z * z)
20 y = radius * numpy.sin(theta)
21 x = radius * numpy.cos(theta)
24 ax.scatter(x, y, z, s=100, c=values, vmin=-0.1, vmax=0.1, cmap=
"RdBu")