Skip to content

Commit

Permalink
upd: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LanceGin committed May 22, 2017
1 parent 6d52ed9 commit 54831ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -65,7 +65,7 @@ from haishoku.haishoku import Haishoku
palette = Haishoku.getPalette( image )
```

returns: [(R, G, B), (R, G, B), ...] `Array` length <= 8
returns: [(percentage, (R, G, B)), (percentage, (R, G, B)), ...] `Array` length <= 8

#### • showPalette( image )

Expand Down
2 changes: 1 addition & 1 deletion docs/document_zh.md
Expand Up @@ -65,7 +65,7 @@ from haishoku.haishoku import Haishoku
palette = Haishoku.getPalette( image )
```

返回一个结构为: [(R, G, B), (R, G, B), ...] 最大长度为8的`数组`
返回一个结构为: [(percentage, (R, G, B)), (percentage, (R, G, B)), ...] 最大长度为8的`数组`

#### • showPalette( image )

Expand Down

0 comments on commit 54831ac

Please sign in to comment.