Skip to content

Commit efa8d4b

Browse files
committed
temporary fix
1 parent f6eeea4 commit efa8d4b

2 files changed

Lines changed: 515 additions & 1 deletion

File tree

src/transforms/map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function map(outputs = {}, options = {}) {
3232
});
3333
return {
3434
...basic(options, (data, facets) => {
35-
const Z = valueof(data, z);
35+
const Z = valueof(data, isObject(z) ? z.value : z);
3636
const X = channels.map(({input}) => valueof(data, input));
3737
const MX = channels.map(({setOutput}) => setOutput(new Array(data.length)));
3838
for (const facet of facets) {

0 commit comments

Comments
 (0)