dotools_py.utility.extended_tab20#
- dotools_py.utility.extended_tab20(n_shades=6)[source]#
Extends the colormap tab20 to more shades for a color.
Example
>>> import dotools_py as do >>> shades_list = do.utility.extended_tab20() >>> shades_list[:5] [[0.12156862745098039, 0.4666666666666667, 0.7058823529411765], [0.23372549019607844, 0.5294117647058824, 0.7466666666666668], [0.3458823529411765, 0.592156862745098, 0.7874509803921569], [0.45803921568627454, 0.6549019607843137, 0.8282352941176472], [0.5701960784313725, 0.7176470588235294, 0.8690196078431373]]