Skip to content

Update interpolation method to 'antialiased' in visualize_tensor function - #97

Merged
MatthewFilipovich merged 1 commit into
mainfrom
fix/antialiased-phase
Apr 2, 2026
Merged

Update interpolation method to 'antialiased' in visualize_tensor function#97
MatthewFilipovich merged 1 commit into
mainfrom
fix/antialiased-phase

Conversation

@MatthewFilipovich

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 2, 2026 16:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the default Matplotlib imshow() interpolation used for the phase subplot in visualize_tensor, aiming to change the rendered appearance/quality of phase images.

Changes:

  • Switched the phase plot imshow interpolation from "bilinear" to "antialiased".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/torchoptics/visualization.py
@codecov

codecov Bot commented Apr 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.92%. Comparing base (b5692e6) to head (9661e1a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #97   +/-   ##
=======================================
  Coverage   99.92%   99.92%           
=======================================
  Files          38       38           
  Lines        1305     1305           
=======================================
  Hits         1304     1304           
  Misses          1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MatthewFilipovich
MatthewFilipovich merged commit 34fe9c4 into main Apr 2, 2026
10 checks passed
@MatthewFilipovich
MatthewFilipovich deleted the fix/antialiased-phase branch April 2, 2026 18:30
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