Skip to content

NF: Add support for displaying plots with ImageStim#7382

Merged
TEParsons merged 1 commit intopsychopy:devfrom
mdcutone:dev-en-matplotlib-imagestim-support
Sep 4, 2025
Merged

NF: Add support for displaying plots with ImageStim#7382
TEParsons merged 1 commit intopsychopy:devfrom
mdcutone:dev-en-matplotlib-imagestim-support

Conversation

@mdcutone
Copy link
Copy Markdown
Member

@mdcutone mdcutone commented Sep 3, 2025

This PR adds support for showing plots with ImageStim within a PsychoPy session by accepting matplotlib figure objects as images. Setting the parameter size=None when initializing ImageStim renders the plot in its native resolution

@codecov
Copy link
Copy Markdown

codecov bot commented Sep 3, 2025

Codecov Report

❌ Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 12.19%. Comparing base (a97327b) to head (607b273).
⚠️ Report is 3 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #7382      +/-   ##
==========================================
- Coverage   12.19%   12.19%   -0.01%     
==========================================
  Files         353      353              
  Lines       64972    64984      +12     
==========================================
  Hits         7925     7925              
- Misses      57047    57059      +12     
Components Coverage Δ
app ∅ <ø> (∅)
boilerplate ∅ <ø> (∅)
library ∅ <ø> (∅)
vm-safe library ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@TEParsons TEParsons merged commit f5e81e8 into psychopy:dev Sep 4, 2025
8 checks passed
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