Skip to content

Tests for background lightness checking. #143

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

Conversation

samcunliffe
Copy link
Collaborator

So I intended to factor out NapariMPLWidget._theme_has_light_bg‎ as a peripheral from #138.

But the change crept in 😱 and did so without tests 😱😱. Note that it was in the address PR comments commit so might have snuck in unapproved. Sorry about that. Careless.

In any case here's a test.

I can also pull out _theme_has_light_bg if you think it'd be better upstream. For example as a member @property on napari.utils.theme.Theme.

@samcunliffe samcunliffe requested a review from dstansby June 1, 2023 09:31
@dstansby dstansby added this pull request to the merge queue Jun 1, 2023
Merged via the queue into matplotlib:main with commit 9598eeb Jun 1, 2023
@samcunliffe samcunliffe deleted the fix-TODO-auto-bg-lightness branch June 1, 2023 10:12
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