netallocation.plot_helpers module¶
Created on Fri Mar 29 09:52:39 2019
@author: fabian
- netallocation.plot_helpers.handles_labels_for(color_series, kind='circle', kw_list=None, **kw)[source]¶
- netallocation.plot_helpers.lighten_color(color, amount=0.5)[source]¶
Lightens the given color by multiplying (1-luminosity) by the given amount. Input can be matplotlib color string, hex string, or RGB tuple.
Examples: >> lighten_color(‘g’, 0.3) >> lighten_color(‘#F034A3’, 0.6) >> lighten_color((.3,.55,.1), 0.5) copied from https://stackoverflow.com/questions/37765197/darken-or-lighten-a-color-in-matplotlib