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

matplotlib 3.7 compat #2414

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Conversation

ivirshup
Copy link
Member

Fix #2411

@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Merging #2414 (f7d7c7a) into master (d26be44) will decrease coverage by 71.50%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #2414       +/-   ##
==========================================
- Coverage   71.80%   0.31%   -71.50%     
==========================================
  Files          98      97        -1     
  Lines       11542   11477       -65     
==========================================
- Hits         8288      36     -8252     
- Misses       3254   11441     +8187     
Impacted Files Coverage Δ
scanpy/plotting/_utils.py 0.00% <0.00%> (-54.80%) ⬇️
scanpy/tools/_pca.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/get/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/plotting/_docs.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/tools/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/datasets/_utils.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/plotting/_rcmod.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/metrics/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/queries/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
scanpy/datasets/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
... and 86 more

@thetorpedodog
Copy link
Contributor

considering that AxesSubplot defines no methods at all (much less any abstract methods), this does seem like the right solution.

@Zethson Zethson merged commit 1313f7b into scverse:master Feb 15, 2023
@ivirshup ivirshup added this to the 1.9.2 milestone Feb 16, 2023
@ivirshup
Copy link
Member Author

@meeseeksdev backport to 1.9.x

meeseeksmachine pushed a commit to meeseeksmachine/scanpy that referenced this pull request Feb 16, 2023
ivirshup added a commit that referenced this pull request Feb 16, 2023
* Backport PR #2414: matplotlib 3.7 compat

* fix scrublet

* Update visium default plot for matplotlib 3.7

* Update hashsolo docstrings

* skip plotting test that changed on mpl 3.7 if mpl < 3.7 is installed

* Fix hashsolo docs (again)

* update anndata-dev tests to install anndata test deps

* Temporarily set warnings as errors to False for doc builds

* Release notes

* Fix using custom layer with highly_variable_genes (#2302)

* Fix using custom layer with highly_variable_genes

* Add tests

* Add release note

* Move release note to correct section

* Format release notes

* Add check for number of normalized dispersions (#2231)

* Add check for number of normalized dispersions

In sc.pp.highly_variable_genes() when flavor='cell_ranger' and
n_top_genes is set check that enough normalized dispersions have been
calculated and if not raise a warning and set n_top_genes to the number
of calculated dispersions.

Fixes #2230

* Use .size instead of len()

* Add test for n_top_genes warning

* Add release note

* Remove blank line

Co-authored-by: Isaac Virshup <ivirshup@gmail.com>

---------

Co-authored-by: Isaac Virshup <ivirshup@gmail.com>
Co-authored-by: adamgayoso <adamgayoso@users.noreply.github.com>
Co-authored-by: Dries Schaumont <5946712+DriesSchaumont@users.noreply.github.com>
Co-authored-by: Luke Zappia <lazappi@users.noreply.github.com>
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.

TypeError: metaclass conflict: matplotlib v3.7.0 is incompatible with scanpy
3 participants