Open dansteiert opened 3 months ago
The docs don’t say it does, so this would be an enhancement, not a bug fix.
it’s not high priority, since it’s easy to just do ax = plt.subplot(); sc.pl.rank_genes_groups(adata, ax=ax)
contributions are welcome!
This might be true the expected behaviour is not mentioned here. Then as you pointed out it is more of an enhancement, which would be to make it match other plotting functions behaviour ;)
Please make sure these conditions are met
What happened?
Function Rank_genes_groups() does not return a figure -> returns None type Cannot get Figure via plt.gcf(), plt.gca().
Potential Fix: https://github.com/scverse/scanpy/blob/main/src/scanpy/plotting/_tools/__init__.py Line 485: cann be extended to the following as in other functions below:
Minimal code sample
Error output
No response
Versions