23 """Set a color palette from a given RGB list
24 stops, red, green and blue should all be lists of the same length
25 see set_decent_colors for an example"""
27 stops = [0.00, 0.25, 0.75, 1.00]
28 red = [0.00, 1.00, 1.00, 1.00]
29 green = [1.00, 1.00, 0.70, 0.00]
30 blue = [0.00, 0.00, 0.00, 0.00]
38 TColor.CreateGradientColorTable(npoints, s, r, g, b, ncontours)
39 gStyle.SetNumberContours(ncontours)