xyzpy.plot.color¶
Helper functions for generating color spectrums.
Attributes¶
Functions¶
|
Convert lists of colors between formats |
|
Custom-defined colormaps |
|
|
|
Creates a color map for a single hue. |
|
Creates a color map for a single hue, with bright defaults. |
|
Creates a color map for single hue, using HSLuv color space. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Creates a color map for single hue, using OKLCH color space. |
Module Contents¶
- xyzpy.plot.color._COLOR_CONVERT_METHODS¶
- xyzpy.plot.color.convert_colors(cols, outformat, informat='MATPLOTLIB')[source]¶
Convert lists of colors between formats
- xyzpy.plot.color.cimple(hue, sat1=0.4, sat2=1.0, val1=0.95, val2=0.35, hue_shift=0.0, name='cimple', auto_adjust_sat=0.2)[source]¶
Creates a color map for a single hue.
- xyzpy.plot.color.cimple_bright(hue, sat1=0.8, sat2=0.9, val1=0.97, val2=0.3, hue_shift=0.0, name='cimple_bright')[source]¶
Creates a color map for a single hue, with bright defaults.
- xyzpy.plot.color.cimluv(hue, hue_shift=0.0, sat1=1.0, sat2=0.5, val1=0.8, val2=0.3, N=30, reverse=False)[source]¶
Creates a color map for single hue, using HSLuv color space.
- xyzpy.plot.color.cmoke(hue, hue_shift=0.0, sat1=0.36, sat2=0.5, val1=0.38, val2=0.93, N=51, reverse=False)[source]¶
Creates a color map for single hue, using OKLCH color space.
- xyzpy.plot.color.doublerainbow¶
- xyzpy.plot.color.doublerainbow_r¶