Skip to content

Check that single layer widget plots change w/ layer change #151

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 1 commit into from
Jun 2, 2023

Conversation

dstansby
Copy link
Member

@dstansby dstansby commented Jun 2, 2023

This generalises the test I added in #146 to make it easy to test any widget that takes a single layer as input. Although we only have two widgets at the moment, any new widgets just need to be added to @pytest.mark.parametrize("widget_cls", [HistogramWidget, SliceWidget]) in the future and they'll be automatically tested.

More work towards #7.

@dstansby dstansby marked this pull request as ready for review June 2, 2023 11:08
@dstansby dstansby requested a review from ruaridhg June 2, 2023 11:08
Copy link
Collaborator

@ruaridhg ruaridhg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Works locally.

@ruaridhg ruaridhg added this pull request to the merge queue Jun 2, 2023
Merged via the queue into matplotlib:main with commit ea2f7bc Jun 2, 2023
@dstansby dstansby added the Tests label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants