def _multiply_color_brightness(cls, color, multiplier):
hsv = matplotlib.colors.rgb_to_hsv(color[:3])
rgb = matplotlib.colors.hsv_to_rgb((hsv[0], hsv[1], max(0, min(1, hsv[2] * multiplier))))
return list(iter(rgb)) + [1]
node_profile_analyzer_time_and_veh_legs.py 文件源码
python
阅读 24
收藏 0
点赞 0
评论 0
评论列表
文章目录