Skip to content
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

MAINT: Matplotlib 3.7 compat #11417

Merged
merged 2 commits into from
Jan 12, 2023
Merged

MAINT: Matplotlib 3.7 compat #11417

merged 2 commits into from
Jan 12, 2023

Conversation

larsoner
Copy link
Member

I decided to upgrade to latest matplotlib dev today and hit a bunch of failures (in addition to #11332). This PR aims to restore our --pre testing of matplotlib, decorating with xfail if needed (e.g., for button-related tests). This seems better than sticking with <3.7, which will continue to allow us to accumulate more incompatibilities in addition to the button one.

Also fixes (hopefully) the theme testing, which was broken for me on Ubuntu 22.10 on a dark theme.

Mostly complementary with #11409, which hopefully will be an easy rebase/merge after this PR is in and can remove some xfails.

Copy link
Member

@drammock drammock left a comment

Choose a reason for hiding this comment

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

nice job of leaving breadcrumbs for things that need to still be fixed.

@@ -74,14 +76,10 @@ def test_theme_colors(pg_backend, theme, monkeypatch, tmp_path):
return # we could add a ton of conditionals below, but KISS
is_dark = _qt_is_dark(fig)
# on Darwin these checks get complicated, so don't bother for now
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# on Darwin these checks get complicated, so don't bother for now

comment no longer relevant, you removed the if != Darwin line

@drammock drammock enabled auto-merge (squash) January 12, 2023 22:58
@drammock drammock merged commit 0e607f3 into mne-tools:main Jan 12, 2023
@larsoner larsoner deleted the dep branch January 13, 2023 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants