| Trees | Indices | Help |
|
|---|
|
|
Various functions for handling colors. Used mainly for visualizing output of plugins with heatmaps (for now).
Most of the code below is made to match this color chart: http://en.wikipedia.org/wiki/File:Xterm_256color_chart.svg
The colorspace conversions are thin wrappers around colorsys, except for the code to handle XTerm colors, which is my own work.
Author: Adam Sindelar <adamsh@google.com>
| Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Variables | |
XTERM16 = XTerm has 16 special colors, as listed above. |
|
XTERM_CHANNEL_STEPS = XTerm color space is sparse at low luminosity. |
|
__package__ =
|
|
| Function Details |
Given heat (0-1.0), compute the color to represent it on a heatmap.
Arguments:
Greyscale: If True, use luminosity instead of hue.
|
| Variables Details |
XTERM16XTerm has 16 special colors, as listed above.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Oct 9 03:27:47 2017 | http://epydoc.sourceforge.net |