pwtools
Helper for creating color transitions in loops.
Examples
>>> # change color smoothly blue -> red >>> from pwtools import mpl >>> N = 10 >>> for ii in range(N): ... z = mpl.smooth_color(ii,N) ... plot(rand(20)+ii, color=(z,0,1-z))