Skip to content

Conversation

@KR-LSB
Copy link

@KR-LSB KR-LSB commented Feb 4, 2026

I isolated the Qt tests into subprocesses to prevent QApplication memory leaks.

Change 1. Moved Qt test logic into subprocess.run.

Change 2. Added env=os.environ to fix the DISPLAY variable error on Linux CI.

Change 3. Reverted all unrelated style changes.

Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

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

Technical note:

  • Please remove all unrelated style changes. We don't want style churn and no reviewer will invest time to spot the actual logic changes in a wall trival style changes.

The PR explantion looks AI-generated. Please make sure to comply with our AI policy.
https://matplotlib.org/devdocs/devel/contribute.html#restrictions-on-generative-ai-usage

@KR-LSB
Copy link
Author

KR-LSB commented Feb 4, 2026

@timhoffm I have reverted all unrelated style changes as requested.

Regarding the AI policy: Apologies for the confusion. Since this is my first open-source contribution, I was eager to ensure everything was perfect. I want to confirm that I fully understood the entire logic and wrote the fix myself. I only used AI tools to help polish my English phrasing as a non-native speaker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants