Skip to content

Commit

Permalink
test_radialI: set bins
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffjennings committed Nov 1, 2023
1 parent 8f1a610 commit 3cc2316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/onedim_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ def test_radialI(mock_1d_image_model, tmp_path):

r, i, i2d, _, _, geom, coords = mock_1d_image_model

rtest, itest = radialI(i2d, coords, geom, bins=None)
bins = np.linspace(0, 2.0, 75)
rtest, itest = radialI(i2d, coords, geom, bins=bins)

fig, ax = plt.subplots(ncols=2)

Expand Down

0 comments on commit 3cc2316

Please sign in to comment.