Fix: Typo 'is less' -> 'are lesser' (#9755)

* Fix: Typo 'is less' -> 'are lesser'

* Update plugin.decimation.js
This commit is contained in:
Atharva Deshpande 2021-10-17 01:11:27 +05:30 committed by GitHub
parent 12d5e4c7e7
commit 30e66bc50e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ function lttbDecimation(data, start, count, availableWidth, options) {
* The original implementation is MIT licensed.
*/
const samples = options.samples || availableWidth;
// There is less points than the threshold, returning the whole array
// There are less points than the threshold, returning the whole array
if (samples >= count) {
return data.slice(start, start + count);
}