Skip to content

Preserve Scanpy plotting compatibility across layouts - #1248

Open
stanbot8 wants to merge 1 commit into
scverse:mainfrom
stanbot8:draft/test-scanpy-plotting-layout-compatibility
Open

Preserve Scanpy plotting compatibility across layouts#1248
stanbot8 wants to merge 1 commit into
scverse:mainfrom
stanbot8:draft/test-scanpy-plotting-layout-compatibility

Conversation

@stanbot8

@stanbot8 stanbot8 commented Aug 1, 2026

Copy link
Copy Markdown

Scanpy relocated private plotting helpers into its legacy package, so Squidpy no longer imports against the prerelease dependency. Import Squidpy against Scanpy after scverse/scanpy#4188 and reproduce the prerelease CI failure: scanpy.plotting._tools is absent.

This change routes Scanpy plotting helpers, palettes, and mutable settings through Squidpy's compatibility boundary. Focused plotting tests exercise both supported layouts.

@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.28571% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.28%. Comparing base (ca07e64) to head (afdcfb8).

Files with missing lines Patch % Lines
src/squidpy/_compat.py 96.77% 0 Missing and 1 partial ⚠️
src/squidpy/pl/_spatial_utils.py 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1248      +/-   ##
==========================================
+ Coverage   77.24%   77.28%   +0.04%     
==========================================
  Files          63       63              
  Lines        9378     9401      +23     
  Branches     1579     1583       +4     
==========================================
+ Hits         7244     7266      +22     
  Misses       1532     1532              
- Partials      602      603       +1     
Files with missing lines Coverage Δ
src/squidpy/im/_container.py 85.40% <100.00%> (ø)
src/squidpy/_compat.py 92.68% <96.77%> (+4.44%) ⬆️
src/squidpy/pl/_spatial_utils.py 78.66% <66.66%> (-0.05%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@stanbot8
stanbot8 marked this pull request as ready for review August 1, 2026 07:15
@stanbot8
stanbot8 force-pushed the draft/test-scanpy-plotting-layout-compatibility branch from 2cea0ab to afdcfb8 Compare August 1, 2026 07:56
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.

1 participant