Closed arcsin1 closed 4 years ago
Sturges formula:
export function sturges(values: Array<number>): number { return Math.ceil(Math.log(values.length) / Math.LN2) + 1; }
@hustcc
我觉得问题不大,可以直接 pr 上来。其实只是一个默认逻辑,也不会产生 break change。
Steps to reproduce
改进方式
Sturges formula:
@hustcc