public histogram2D(notnull other as NDArray<T>, bins as Long = 10l, density as Boolean = false, weights as NDArray<Double> = null, ignoreNaN as Boolean = false) as Tuple<NDArray<Double>, NDArray<Double>, NDArray<Double>>
Joint histogram of paired 1D observations, without an N-by-2 temporary.
| Parameter | Description |
|---|---|
other | Second coordinate series, same numeric type and length. |
bins | Positive number of bins per coordinate. |
density | Normalize by included weight and cell area. |
weights | Optional finite Double weight per observation. |
ignoreNaN | Skip entire pairs containing NaNs; otherwise raise. |
Tuple of [xBins,yBins] counts/densities, x edges, y edges.
counts, xEdges, yEdges = x.histogram2D(y, bins=10l)