File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import {sqrt3} from "../symbols.js";
3
3
import { identity , isNoneish , number , valueof } from "../options.js" ;
4
4
import { initializer } from "./basic.js" ;
5
5
import { hasOutput , maybeGroup , maybeOutputs , maybeSubgroup } from "./group.js" ;
6
+ import { originals } from "../facet.js" ;
6
7
7
8
// We don’t want the hexagons to align with the edges of the plot frame, as that
8
9
// would cause extreme x-values (the upper bound of the default x-scale domain)
@@ -101,7 +102,7 @@ export function hexbin(outputs = {fill: "count"}, options = {}) {
101
102
const BY = [ ] ;
102
103
let i = - 1 ;
103
104
for ( const o of outputs ) o . initialize ( data ) ;
104
- for ( const facet of facets ) {
105
+ for ( const facet of originals ( facets ) ) {
105
106
const binFacet = [ ] ;
106
107
for ( const o of outputs ) o . scope ( "facet" , facet ) ;
107
108
for ( const [ f , I ] of maybeGroup ( facet , G ) ) {
You can’t perform that action at this time.
0 commit comments