Skip to content

Commit b134a4b

Browse files
committed
histogram/grid.rs: Removed unnecessary imports in examples
1 parent 074594f commit b134a4b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/histogram/grid.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ use std::ops::Range;
6363
/// ```
6464
/// use ndarray::{Array, array};
6565
/// use ndarray_stats::{
66-
/// histogram::{strategies::Auto, Bins, Edges, Grid, GridBuilder, Histogram},
66+
/// histogram::{strategies::Auto, Bins, Edges, Grid, GridBuilder},
6767
/// HistogramExt,
6868
/// };
69-
/// use noisy_float::types::{N64, n64};
7069
///
7170
/// // 1-dimensional observations, as a (n_observations, n_dimension) 2-d matrix
7271
/// let observations = Array::from_shape_vec(
@@ -292,11 +291,8 @@ impl<A: Ord + Clone> Grid<A> {
292291
/// Basic usage, creating a `Grid` with some observations and a given [`strategy`]:
293292
///
294293
/// ```
295-
/// use ndarray::{Array, array};
296-
/// use noisy_float::types::{N64, n64};
297-
/// use ndarray_stats::histogram::{
298-
/// strategies::Auto, Bins, Edges, Grid, GridBuilder, Histogram,
299-
/// };
294+
/// use ndarray::Array;
295+
/// use ndarray_stats::histogram::{strategies::Auto, Bins, Edges, Grid, GridBuilder};
300296
///
301297
/// // 1-dimensional observations, as a (n_observations, n_dimension) 2-d matrix
302298
/// let observations = Array::from_shape_vec(

0 commit comments

Comments
 (0)