-
Notifications
You must be signed in to change notification settings - Fork 39
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 with plot-related functions when running pycisTopic #512
Comments
Hello, could you find a resolution or did you just go ahead without this step? |
Hi This error is related to your matplotlib version. Best, S |
Thanks! The problem is indeed related to matplotlib version and is solved now. |
Hi @zhli12, I got the same error as you when running |
@SeppeDeWinter @zhli12 Is the error from calling ![]() |
The
hmm You are right. After changing the versions I got rid of the errors from running |
Hello,
I'm having some troubles using plotting functions in pycisTopic when runnign the tutorial [(https://pycistopic.readthedocs.io/en/latest/notebooks/human_cerebellum.html#Run-models)], including
plot_metadata
,plot_topic
, andcell_topic_heatmap
.plot_metadata
andplot_topic
give the errorValueError: Unable to determine Axes to steal space for Colorbar. Either provide the *cax* argument to use as the Axes for the Colorbar, provide the *ax* argument to steal space from it, or add *mappable* to an Axes.
while
cell_topic_heatmap
gives the errorKeyError: "None of [Index(['TGACTCCTCATCCACC-1-10x_multiome_brain',\n 'TTTCTCACATAAACCT-1-10x_multiome_brain',\n 'GTCCTCCCACACAATT-1-10x_multiome_brain',\n 'ACATAGCTCATTAGTG-1-10x_multiome_brain',\n 'GACCTAAGTTTGGCGG-1-10x_multiome_brain',\n 'TGTGTTAAGGCCTAAT-1-10x_multiome_brain',\n 'AGGAACGGTTCGCTCA-1-10x_multiome_brain',\n 'TTTCTCACAATAATGG-1-10x_multiome_brain',\n 'TTAACTGAGGATCACT-1-10x_multiome_brain',\n 'GTACTAATCGCAGGCT-1-10x_multiome_brain',\n ...\n 'CGGTTGGGTTATCCTA-1-10x_multiome_brain',\n 'AGCTAAACACCTACGG-1-10x_multiome_brain',\n 'CCATCACTCTCTAGCC-1-10x_multiome_brain',\n 'TACTGGCCACCGGTAT-1-10x_multiome_brain',\n 'CTTAAGGGTGTTAGCA-1-10x_multiome_brain',\n 'GGCTCACAGGCCCAGT-1-10x_multiome_brain',\n 'GTAGTTATCATAAGCC-1-10x_multiome_brain',\n 'CAGAATCTCCTCATGC-1-10x_multiome_brain',\n 'TAGCCGGGTAACAGGG-1-10x_multiome_brain',\n 'GTGCGCAGTGCTTAGA-1-10x_multiome_brain'],\n dtype='object', length=1575)] are in the [columns]"
I found some related posts (#247 and #501) but the errors seem to be unsolved yet, so I'm wondering whether anyone has some idea about this. Thanks!
Below is the pacakge versions I used:
The text was updated successfully, but these errors were encountered: