bokeh/bokeh — pull request #1333 by dvreed77 (2014-10-21 23:39:50+00:00)
Title: Dvreed77/palette docs

I have added some documentation to list all the palettes. The HTML was generated with the code below and probably should be generated automatically during the building process.

from bokeh import palettes as pl

s = "

"
for i, (k, v) in enumerate(pl.brewer.iteritems()):
for k1, v1 in v.iteritems():
s += "
%s" % (k+str(k1))
for j, a in enumerate(v1):
s += '	' % a
s += "
"
s += "

"