Changeset 13767 for lang

Show
Ignore:
Timestamp:
06/13/08 02:35:15 (6 years ago)
Author:
ayu
Message:
  • fixed bug
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/python/misc/graphcolor.py

    r13766 r13767  
    3333    #色相を0から1.0の範囲にずらす。 
    3434    hs = [h-int(h) for h in hs]  #  mod 1.0 
    35     hs = [h if h>0 else -h for h in hs] 
     35    hs = [h if h>0 else 1+h for h in hs] 
    3636 
    3737    # 回転を行ったものをRGBに戻す