original_docstring:  Convert a hsv color to rgb. 
docstring: Convert a hsv color to rgb.
docstring_tokens: Convert a hsv color to rgb .
code: def hsv_to_rgb(self, h, s, v):
          """ Convert a hsv color to rgb. """
          if s == 0.0:
              return [v, v, v]
          else:
            if h == 360.0:
                h = 0.0;
            h = h / 60.0
            i = int(h)
            f = h - i
            p = v * (1.0 - s)
            q = v * (1.0 - (s*f))
            t = v * (1.0 - (s * (1.0 - f)))
  
            if i == 0:
                rgb = [v, t, p]
            elif i == 1:
                rgb = [q, v, p]
            elif i == 2:
                rgb = [p, v, t]
            elif i == 3:
                rgb = [p, q, v]
            elif i == 4:
                rgb = [t, p, v]
            elif i == 5:
                rgb = [v, p, q]
          #__if s == 0.0
  
          return rgb
code_tokens: def hsv_to_rgb ( self , h , s , v ) : if s == 0.0 : return [ v , v , v ] else : if h == 360.0 : h = 0.0 ; h = h / 60.0 i = int ( h ) f = h - i p = v * ( 1.0 - s ) q = v * ( 1.0 - ( s * f ) ) t = v * ( 1.0 - ( s * ( 1.0 - f ) ) ) if i == 0 : rgb = [ v , t , p ] elif i == 1 : rgb = [ q , v , p ] elif i == 2 : rgb = [ p , v , t ] elif i == 3 : rgb = [ p , q , v ] elif i == 4 : rgb = [ t , p , v ] elif i == 5 : rgb = [ v , p , q ] return rgb
short_docstring: Convert a hsv color to rgb.
short_docstring_tokens: Convert a hsv color to rgb .
comment: """ Convert a hsv color to rgb. """$SEP$#__if s == 0.0