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

(chore): Simplify BasePlot’s var_groups #3462

Merged
merged 2 commits into from
Feb 18, 2025
Merged

Conversation

flying-sheep
Copy link
Member

@flying-sheep flying-sheep commented Feb 11, 2025

Just a small refactor I made while trying to understand this code.

Copy link

codecov bot commented Feb 11, 2025

Codecov Report

Attention: Patch coverage is 80.85106% with 9 lines in your changes missing coverage. Please review.

Project coverage is 75.40%. Comparing base (a28fe88) to head (00dfd01).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/scanpy/plotting/_baseplot_class.py 80.43% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3462      +/-   ##
==========================================
- Coverage   75.44%   75.40%   -0.05%     
==========================================
  Files         113      113              
  Lines       13250    13259       +9     
==========================================
+ Hits         9997     9998       +1     
- Misses       3253     3261       +8     
Files with missing lines Coverage Δ
src/scanpy/neighbors/_connectivity.py 85.96% <100.00%> (ø)
src/scanpy/plotting/_baseplot_class.py 89.56% <80.43%> (-1.99%) ⬇️

@flying-sheep flying-sheep changed the title Simplify var_groups (chore): Simplify var_groups Feb 17, 2025
@flying-sheep flying-sheep changed the title (chore): Simplify var_groups (chore): Simplify BasePlot’s var_groups Feb 17, 2025
@flying-sheep flying-sheep added this to the 1.11.1 milestone Feb 17, 2025
@flying-sheep flying-sheep merged commit 2823c33 into main Feb 18, 2025
17 of 18 checks passed
@flying-sheep flying-sheep deleted the pa/clean-var-groups branch February 18, 2025 10:24
meeseeksmachine pushed a commit to meeseeksmachine/scanpy that referenced this pull request Feb 18, 2025
flying-sheep added a commit that referenced this pull request Feb 18, 2025
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.

2 participants