diff --git a/02.perception-and-color/colorblind.jpg b/02.perception-and-color/colorblind.jpg
new file mode 100644
index 0000000..c66c295
Binary files /dev/null and b/02.perception-and-color/colorblind.jpg differ
diff --git a/02.perception-and-color/contrast.png b/02.perception-and-color/contrast.png
new file mode 100644
index 0000000..32d69a2
Binary files /dev/null and b/02.perception-and-color/contrast.png differ
diff --git a/02.perception-and-color/example1a.png b/02.perception-and-color/example1a.png
deleted file mode 100644
index 2d7b811..0000000
Binary files a/02.perception-and-color/example1a.png and /dev/null differ
diff --git a/02.perception-and-color/example1b.png b/02.perception-and-color/example1b.png
deleted file mode 100644
index ab3a53a..0000000
Binary files a/02.perception-and-color/example1b.png and /dev/null differ
diff --git a/02.perception-and-color/hexrgb.png b/02.perception-and-color/hexrgb.png
new file mode 100644
index 0000000..9d71a7f
Binary files /dev/null and b/02.perception-and-color/hexrgb.png differ
diff --git a/02.perception-and-color/hexrgb.svg b/02.perception-and-color/hexrgb.svg
new file mode 100644
index 0000000..c81b52b
--- /dev/null
+++ b/02.perception-and-color/hexrgb.svg
@@ -0,0 +1,241 @@
+
+
+
+
diff --git a/02.perception-and-color/nominal.png b/02.perception-and-color/nominal.png
new file mode 100644
index 0000000..6eca3af
Binary files /dev/null and b/02.perception-and-color/nominal.png differ
diff --git a/02.perception-and-color/ordinal.png b/02.perception-and-color/ordinal.png
new file mode 100644
index 0000000..82405d3
Binary files /dev/null and b/02.perception-and-color/ordinal.png differ
diff --git a/02.perception-and-color/palette-types.jpg b/02.perception-and-color/palette-types.jpg
new file mode 100644
index 0000000..31b6b22
Binary files /dev/null and b/02.perception-and-color/palette-types.jpg differ
diff --git a/02.perception-and-color/perception-examples.ipynb b/02.perception-and-color/perception-examples.ipynb
index 1954899..a8e7248 100644
--- a/02.perception-and-color/perception-examples.ipynb
+++ b/02.perception-and-color/perception-examples.ipynb
@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
- "execution_count": 1,
+ "execution_count": 2,
"id": "adf7aa23-daf2-4cfe-9910-2b00576b2ff7",
"metadata": {},
"outputs": [],
@@ -21,21 +21,21 @@
},
{
"cell_type": "code",
- "execution_count": 118,
- "id": "05a4d76e-7ade-431a-a773-d438c6ac9c79",
+ "execution_count": 20,
+ "id": "bb05f630-eb13-4afe-8090-dd43c2f27a47",
"metadata": {},
"outputs": [],
"source": [
"random_df = pl.DataFrame({\n",
" \"a\": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],\n",
" \"b\": [\"a\", \"b\", \"q\", \"c\", \"a\", \"c\", \"n\", \"c\", \"p\", \"b\", \"c\", \"n\", \"q\", \"r\", \"a\", \"b\", \"c\", \"b\", \"b\", \"b\"],\n",
- " \"c\": [500, 2, 3, 4, 10, 20, 100, 490, 400, 140, 200, 180, 380, 350, 180, 135, 400, 210, 230, 300]\n",
+ " \"c\": [320, 310, 300, 270, 110, 100, 130, 240, 250, 370, 330, 310, 100, 70, 210, 230, 220, 150, 160, 100]\n",
"})"
]
},
{
"cell_type": "code",
- "execution_count": 122,
+ "execution_count": 21,
"id": "902298fe-3a6c-446e-a060-f95071acedf1",
"metadata": {},
"outputs": [
@@ -44,23 +44,23 @@
"text/html": [
"\n",
"\n",
- "
\n",
+ "\n",
""
],
"text/plain": [
"alt.Chart(...)"
]
},
- "execution_count": 122,
+ "execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
@@ -132,94 +132,15 @@
},
{
"cell_type": "code",
- "execution_count": 120,
+ "execution_count": null,
"id": "87228f27-baad-4acb-80af-1ca44c21e8fe",
"metadata": {},
- "outputs": [
- {
- "data": {
- "text/html": [
- "\n",
- "\n",
- "\n",
- ""
- ],
- "text/plain": [
- "alt.Chart(...)"
- ]
- },
- "execution_count": 120,
- "metadata": {},
- "output_type": "execute_result"
- }
- ],
+ "outputs": [],
"source": []
},
{
"cell_type": "code",
- "execution_count": 123,
+ "execution_count": 19,
"id": "5515ea60-70c1-4fd7-bef9-b5451c2ea00c",
"metadata": {},
"outputs": [
@@ -228,23 +149,23 @@
"text/html": [
"\n",
"\n",
- "\n",
+ "\n",
""
],
"text/plain": [
"alt.Chart(...)"
]
},
- "execution_count": 123,
+ "execution_count": 19,
"metadata": {},
"output_type": "execute_result"
}
diff --git a/02.perception-and-color/qual.png b/02.perception-and-color/qual.png
new file mode 100644
index 0000000..559af13
Binary files /dev/null and b/02.perception-and-color/qual.png differ
diff --git a/02.perception-and-color/rgb-khan.jpg b/02.perception-and-color/rgb-khan.jpg
new file mode 100644
index 0000000..404e834
Binary files /dev/null and b/02.perception-and-color/rgb-khan.jpg differ
diff --git a/02.perception-and-color/slides.html b/02.perception-and-color/slides.html
index b75f9dc..82c516d 100644
--- a/02.perception-and-color/slides.html
+++ b/02.perception-and-color/slides.html
@@ -13,11 +13,11 @@
/* custom-theme.css */
/* @theme custom-theme */div#\:\$p>svg>foreignObject>section .container{display:flex}div#\:\$p>svg>foreignObject>section .col{flex:1}
-/* @theme 32coy81frr1xr6ju4zce7hednbinmam8mxn6p61zjhk */div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]{columns:initial!important;display:block!important;padding:0!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]:after,div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]:before,div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=content]:after,div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=content]:before{display:none!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]{all:initial;display:flex;flex-direction:row;height:100%;overflow:hidden;width:100%}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container][data-marpit-advanced-background-direction=vertical]{flex-direction:column}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background][data-marpit-advanced-background-split]>div[data-marpit-advanced-background-container]{width:var(--marpit-advanced-background-split,50%)}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background][data-marpit-advanced-background-split=right]>div[data-marpit-advanced-background-container]{margin-left:calc(100% - var(--marpit-advanced-background-split, 50%))}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]>figure{all:initial;background-position:center;background-repeat:no-repeat;background-size:cover;flex:auto;margin:0}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=background]>div[data-marpit-advanced-background-container]>figure>figcaption{position:absolute;border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=content],div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=pseudo]{background:transparent!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background=pseudo],div#\:\$p>svg[data-marpit-svg]>foreignObject[data-marpit-advanced-background=pseudo]{pointer-events:none!important}div#\:\$p>svg>foreignObject>section[data-marpit-advanced-background-split]{width:100%;height:100%}