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

ERROR: Axes instance argument was not found in a figure #10

Open
Pikachu233 opened this issue Jun 12, 2019 · 0 comments
Open

ERROR: Axes instance argument was not found in a figure #10

Pikachu233 opened this issue Jun 12, 2019 · 0 comments

Comments

@Pikachu233
Copy link

Hello,

When I try to generate the paga comparison plot using the code in https://nbviewer.jupyter.org/github/theislab/paga/blob/master/blood/dahlin18/dahlin18.ipynb In [50]

I got the following error:


ValueError Traceback (most recent call last)
in
----> 1 pl.sca(axs[0])
2 pl.xlabel('')
3 pl.ylabel('')
4 axs[0].set_frame_on(False)
5 pl.savefig('./gast44hr.pdf')

/anaconda3/lib/python3.7/site-packages/matplotlib/pyplot.py in sca(ax)
912 m.canvas.figure.sca(ax)
913 return
--> 914 raise ValueError("Axes instance argument was not found in a figure")
915
916

ValueError: Axes instance argument was not found in a figure

Before this code block, everything else works perfectly fine, but I could not find why the axes setting going wrong. Sincerely hope someone could offer some suggestions. Thanks!

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

1 participant