cellPoints
[
[
-5,
-5
],
[
5,
-5
],
[
5,
5
],
[
-5,
5
]
]import { cellPoints } from "@sportsdataverse/sdvplot/bins";
cellPoints("square", 10); // [[-5, -5], [5, -5], [5, 5], [-5, 5]]
Tags: docstring · cellPoints. All sdvplot examples.