Skip to content

Commit e14afe1

Browse files
authored
feat: Set histogram maxbins from 25 -> 18 (#47)
1 parent fa61ea3 commit e14afe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/clients/Histogram.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class Histogram extends MosaicClient implements Mark {
6161
type: options.type,
6262
};
6363
// calls this.channelField internally
64-
let bin = mplot.bin(options.column)(this, "x");
64+
let bin = mplot.bin(options.column, { steps: 18 })(this, "x");
6565
this.#select = { x1: bin.x1, x2: bin.x2, y: count() };
6666
this.#interval = new mplot.Interval1D(this, {
6767
channel: "x",

0 commit comments

Comments
 (0)