Skip to content

Commit 99e89f6

Browse files
committed
adopt filter
1 parent a177cf5 commit 99e89f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/plots/metro-inequality-change.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export default async function() {
3030
Plot.text(data, {
3131
x: "POP_2015",
3232
y: "R90_10_2015",
33-
text: d => d.highlight && d.nyt_display,
33+
filter: "highlight",
34+
text: "nyt_display",
3435
dy: -8
3536
})
3637
]

0 commit comments

Comments
 (0)