Oct-14-2018, 09:02 PM (This post was last modified: Oct-14-2018, 09:03 PM by j.crater.)
I don't know the library you use, but it seems that colorsys.hsv_to_rgb(h, s, 0.0) returns a tuple with 3 elements, and color_rgb(RGB) expects 3 separate arguments. Try with:
R, G, B = colorsys.hsv_to_rgb(h, s, 0.0)
pt.setFill(color_rgb(R, G, B))