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

AttributeError: 'NoneType' object has no attribute 'get_legend_handles_labels #126

Closed
Yohana-Berhe opened this issue Oct 31, 2023 · 3 comments

Comments

@Yohana-Berhe
Copy link

I am ingest workflow in a multiome data. however, the panpipes ingest aborts with an error when it reaches 'run_scanpyQC_atac.py ' script. The error I get is:

sc.pl.violin(atac, qc_vars_plot,
File "/miniconda3/envs/pipeline_env/lib/python3.9/site-packages/scanpy/plotting/_anndata.py", line 795, in violin

g = sns.catplot(
File "
/seaborn/categorical.py", line 2932, in catplot
p.plot_violins(
File "/seaborn/categorical.py", line 1153, in plot_violi
ns
self._configure_legend(ax, legend_artist, common_kws)
File "
/seaborn/categorical.py", line 420, in configure
legend
handles, _ = ax.get_legend_handles_labels()
AttributeError: 'NoneType' object has no attribute 'get_legend_handles_labels' \

@bio-la
Copy link
Collaborator

bio-la commented Oct 31, 2023

Hi @Yohana-Berhe, thanks for opening this issue! so i can replicate the issue,
can you post here the results of pip freeze in your panpipes environment? thank you!

@Yohana-Berhe
Copy link
Author

@bio-la
Copy link
Collaborator

bio-la commented Nov 9, 2023

solved with PR #128
to apply the latest changes to your environment please clone the panpipes repo and follow the instructions on installing nightly versions of panpipes !

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

No branches or pull requests

2 participants