matplotlib.colors.hsv_to_rgb#

matplotlib.colors.hsv_to_rgb(hsv)[源代码][源代码]#

将HSV值转换为RGB。

参数:
hsv(..., 3) 类数组

所有值假定在范围 [0, 1] 内

返回:
(..., 3) ndarray

颜色转换为范围在 [0, 1] 内的 RGB 值

使用 matplotlib.colors.hsv_to_rgb 的示例#

3D 体素 / 体积图与圆柱坐标

3D voxel / volumetric plot with cylindrical coordinates