Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/xgcm/xhistogram into drop…
Browse files Browse the repository at this point in the history
…-py36
  • Loading branch information
jrbourbeau committed Apr 2, 2021
2 parents 07b0732 + 2b2b82e commit 9e5434b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xhistogram/test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
@pytest.mark.parametrize("axis", [1, None])
def test_histogram_results_1d(block_size, density, axis):
nrows, ncols = 5, 20
# Setting the random seed here prevents np.testing.assert_allclose
# from failing beow. We should investigate this further.
np.random.seed(2)
data = np.random.randn(nrows, ncols)
bins = np.linspace(-4, 4, 10)

Expand Down

0 comments on commit 9e5434b

Please sign in to comment.