bwplot package¶
Submodules¶
bwplot.colors module¶
-
bwplot.colors.cbox(i, gray=False, spectrum='alternate', reverse=False, as255=False, alpha=None, **kwargs)[source]¶ Access a modular list of colors for plotting. Defines colours using rgb.
Parameters: - i – (int), index to access color
- gray – (bool), if true then color is return as grayscale value
- spectrum – (str), choice of spectrum to use
- reverse – (bool), reverses the color order
- kwargs –
Returns:
-
bwplot.colors.color_by_index(scheme, ind, gray=False, reverse=False, as255=False, alpha=None)[source]¶
-
bwplot.colors.color_by_interp(scheme, val, gray=False, reverse=False, as255=False, alpha=None)[source]¶