You can get a tuple of rgba values for the segment with index i by calling cmap(i) . There is also already a function that turns rgb values ...
確定! 回上一頁