py4cytoscape.style_auto_mappings.palette_color_brewer_d_Spectral¶
-
palette_color_brewer_d_Spectral
(reverse=False)[source]¶ Generate Spectral Brewer palette of a given size … best for two-tailed continuous mapping
Note that this palette is reversed as compared to the standard Brewer Color palette. This enables negative attribute values to skew toward not-red and positive attribute values to skew toward red, as is customary in biology. To use the standard Brewer Color palette instead, pass reverse=True.
- Parameters
reverse – order the colors backward as compared to standard Brewer palette
- Returns
generates a list of colors
- Return type
lambda
See also