Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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 Adding to or fixing 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
Tests Adding to or fixing the tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants