Skip to content

Commit 7452431

Browse files
Filchaichontat
authored andcommitted
refines the observable10 scheme (observablehq#1947)
1 parent 63410df commit 7452431

31 files changed

+4912
-4906
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
Year: **Current (2023)** · [2022](./CHANGELOG-2022.md) · [2021](./CHANGELOG-2021.md)
44

5+
## 0.6.13
6+
7+
[Released December 13, 2023.](https://github.com/observablehq/plot/releases/tag/v0.6.13)
8+
9+
Fixes the *observable10* categorical color scheme. In 0.6.12, we inadvertently published an earlier draft; this fixed version better aligns the order of colors with *tableau10*.
10+
511
## 0.6.12
612

713
[Released December 7, 2023.](https://github.com/observablehq/plot/releases/tag/v0.6.12)

src/scales/schemes.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ const schemeObservable10 = [
8383
"#efb118",
8484
"#ff725c",
8585
"#6cc5b0",
86-
"#a463f2",
86+
"#3ca951",
8787
"#ff8ab7",
88-
"#9c6b4e",
88+
"#a463f2",
8989
"#97bbf5",
90-
"#3ca951",
90+
"#9c6b4e",
9191
"#9498a0"
9292
];
9393

test/output/athletesHeightWeightSport.svg

Lines changed: 1993 additions & 1993 deletions
Loading

test/output/athletesSortNationality.html

Lines changed: 784 additions & 784 deletions
Large diffs are not rendered by default.

test/output/athletesSortNullLimit.html

Lines changed: 791 additions & 791 deletions
Large diffs are not rendered by default.

test/output/autoAreaStackColor.svg

Lines changed: 3 additions & 3 deletions
Loading

test/output/autoLineColorSeries.svg

Lines changed: 3 additions & 3 deletions
Loading

test/output/autoLineZero.svg

Lines changed: 3 additions & 3 deletions
Loading

test/output/clamp.svg

Lines changed: 366 additions & 366 deletions
Loading

test/output/colorLegendCategorical.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@
3131
<rect width="100%" height="100%"></rect>
3232
</svg>C</span><span class="plot-swatch"><svg width="15" height="15" fill="#6cc5b0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3333
<rect width="100%" height="100%"></rect>
34-
</svg>D</span><span class="plot-swatch"><svg width="15" height="15" fill="#a463f2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
34+
</svg>D</span><span class="plot-swatch"><svg width="15" height="15" fill="#3ca951" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3535
<rect width="100%" height="100%"></rect>
3636
</svg>E</span><span class="plot-swatch"><svg width="15" height="15" fill="#ff8ab7" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3737
<rect width="100%" height="100%"></rect>
38-
</svg>F</span><span class="plot-swatch"><svg width="15" height="15" fill="#9c6b4e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
38+
</svg>F</span><span class="plot-swatch"><svg width="15" height="15" fill="#a463f2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3939
<rect width="100%" height="100%"></rect>
4040
</svg>G</span><span class="plot-swatch"><svg width="15" height="15" fill="#97bbf5" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4141
<rect width="100%" height="100%"></rect>
42-
</svg>H</span><span class="plot-swatch"><svg width="15" height="15" fill="#3ca951" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
42+
</svg>H</span><span class="plot-swatch"><svg width="15" height="15" fill="#9c6b4e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4343
<rect width="100%" height="100%"></rect>
4444
</svg>I</span><span class="plot-swatch"><svg width="15" height="15" fill="#9498a0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4545
<rect width="100%" height="100%"></rect>

0 commit comments

Comments
 (0)