Skip to content

Commit

Permalink
try with another dataset:
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Nov 22, 2024
1 parent 2885f3d commit a0a9801
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Binary file modified validphys2/src/validphys/tests/baseline/test_plotfancy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 5 additions & 7 deletions validphys2/src/validphys/tests/test_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@ def test_dataspecschi2():
@pytest.mark.linux
@pytest.mark.mpl_image_compare(tolerance=TOLERANCE_VALUE)
def test_plotfancy():
return next(
iter(
API.plot_fancy(
dataset_input=SINGLE_DATASET, theoryid=THEORYID, pdfs=[PDF], use_cuts='internal'
)
)
)
fig = API.plot_fancy(dataset_input=DATA[2], theoryid=THEORYID, pdfs=[PDF], use_cuts='internal')[
0
]
fig.tight_layout()
return fig


@pytest.mark.linux
Expand Down

0 comments on commit a0a9801

Please sign in to comment.