windkit.plot.color.Color.match_colors_with_roughness

Color.match_colors_with_roughness(z0, html=False, ignore_collisions=True)[source]

Return the list of colors corresponding to the list of roughness values.

Parameters:
  • z0 (list of roughness values) –

  • html (bool, optional. Default: False) – If True, the colors will be in html format.

  • ignore_collisions (bool, optional. Default: True) – if True, will raise an error if several roughness map to the same color.