[AstroPy] matplotlib's pie colors

Jacob VanderPlas vanderplas@astro.washington....
Wed Nov 30 10:26:15 CST 2011


Try the following:

 >>> ax = pylab.axes()
 >>> ax.set_color_cycle(['green', 'orange', 'blue', 'red','brown','pink'])
 >>> ax.plot(x1, y1)
 >>> ax.plot(x2, y2)
 >>>

  Jake


More information about the AstroPy mailing list