I want to use a loop to load and/or modify data and plot the result within the loop using Bokeh (I am familiar with Matplotlib\'s axes.color_cycle). Here is a simple exampl
Two small changes will make prior answer work for Python 3.
changed: for m, color in zip(range(10), colors):
for m, color in zip(range(10), colors):
prior: for m, color in itertools.izip(xrange(10), colors):
for m, color in itertools.izip(xrange(10), colors):