Skip to content

Fig test slice #113

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
May 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added baseline test_slice image, removed comments and reverted gitign…
…ore for baseline folder
  • Loading branch information
ruaridhg committed May 15, 2023
commit bf815637be7b4fb4cba7c9f3466b0b12cebb88dd
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ pip-delete-this-directory.txt
htmlcov/
.tox/
report/
src/napari_matplotlib/tests/baseline/
.coverage
.coverage.*
.cache
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions src/napari_matplotlib/tests/test_slice.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@

@pytest.mark.mpl_image_compare
def test_slice(make_napari_viewer, brain_data):
# Smoke test adding a slice widget
viewer = make_napari_viewer()
viewer.add_image(
brain_data[0], **brain_data[1]
) # (np.random.random((100, 100, 100)))
viewer.add_image(brain_data[0], **brain_data[1])
fig = SliceWidget(viewer).figure
return fig