Skip to content

Commit

Permalink
Add the okabeito namespace and colormap (#65)
Browse files Browse the repository at this point in the history
* Add the `okabeito` namespace and colormap

* style(pre-commit.ci): auto fixes [...]

* Update src/cmap/data/okabeito/record.json

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Talley Lambert <[email protected]>
  • Loading branch information
3 people authored Jul 23, 2024
1 parent 15ef977 commit 6aecac5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/cmap/data/okabeito/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
okabeito = [
[0, 0, 0], # 000000
[230, 159, 0], # E69F00
[86, 180, 233], # 56B4E9
[0, 158, 115], # 009E73
[240, 228, 66], # F0E442
[0, 114, 178], # 0072B2
[213, 94, 0], # D55E00
[204, 121, 167], # CC79A7
]
16 changes: 16 additions & 0 deletions src/cmap/data/okabeito/record.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"authors": [
"Masataka Okabe",
"Kei Ito"
],
"category": "qualitative",
"colormaps": {
"okabeito": {
"data": "cmap.data.okabeito:okabeito",
"info": "Qualitative color palette for color-vision deficiencies",
"interpolation": false
}
},
"namespace": "okabeito",
"source": "https://jfly.uni-koeln.de/color/"
}

0 comments on commit 6aecac5

Please sign in to comment.