Skip to content

Fix docstrings for scanpy.tl.rank_genes_groups - #1417

Merged
fidelram merged 2 commits into
scverse:masterfrom
WeilerP:fix/tl_rank_genes_groups_docs
Sep 23, 2020
Merged

fidelram merged 2 commits into
scverse:masterfrom
WeilerP:fix/tl_rank_genes_groups_docs

Conversation

@WeilerP

@WeilerP WeilerP commented Sep 16, 2020

Copy link
Copy Markdown
Contributor

Changes

  • Removes empty line causing the example terminal commands to be displayed incorrectly.
  • Prepends >>> to comment.

Related issues

Closes #1416.

Remove empty line which causes the example terminal commands to be
displayed incorrectly. Also, three `>` are preprended to the comment.
@fidelram

Copy link
Copy Markdown
Collaborator

Tests are failing and I suspect that this is caused by an update on seaborn or matplotlib...

@WeilerP

WeilerP commented Sep 16, 2020

Copy link
Copy Markdown
Contributor Author

Tests are failing and I suspect that this is caused by an update on seaborn or matplotlib...

Yes, should be as the introduced changes are not linked to the failing tests. I also checked and both seaborn and matplotlib have been updated in the last few days. See here and here.

@fidelram

Copy link
Copy Markdown
Collaborator

Thanks. I just confirmed that the newer versions for both packages were used in the tests. I am checking now what is the difference.

@WeilerP

WeilerP commented Sep 16, 2020 •

Copy link
Copy Markdown
Contributor Author

When running the tests locally with Python 3.7, seaborn seems to be the problem, as the tests pass for matplotlib==3.3.2 and seaborn==0.10.1.

@fidelram

Copy link
Copy Markdown
Collaborator

Indeed, seaborn is the problem. I am getting the plots horizontal when they should be vertical:

image

@WeilerP

WeilerP commented Sep 16, 2020

Copy link
Copy Markdown
Contributor Author

The problem seems to be here and here as seaborn throws the warning

UserWarning: Vertical orientation ignored with only `x` specified.

in the stack trace of the failed tests. I'll open a separate issue as it is unrelated to this PR.

@fidelram

Copy link
Copy Markdown
Collaborator

Let's merge once #1420 is solved.

@fidelram

Copy link
Copy Markdown
Collaborator

@WeilerP Can you merge with master to trigger CI?

@WeilerP

WeilerP commented Sep 22, 2020

Copy link
Copy Markdown
Contributor Author

@fidelram, I merged with master and all tests pass. Should be ready to merge.

@fidelram
fidelram merged commit aeeca1f into scverse:master Sep 23, 2020
@ivirshup ivirshup added the Maint – Backport needed Needs back porting for bugfix release label Dec 7, 2020
@ivirshup ivirshup removed the Maint – Backport needed Needs back porting for bugfix release label Jan 24, 2021
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.

Docs for scanpy.tl.rank_genes_groups are displayed incorrectly

3 participants