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

Problems about ploting #98

Open
HelloWorldLTY opened this issue Jul 16, 2023 · 2 comments
Open

Problems about ploting #98

HelloWorldLTY opened this issue Jul 16, 2023 · 2 comments

Comments

@HelloWorldLTY
Copy link

Hi, I found an error from the tutorial:

image

Moreover, the final output with deconvolution result does not display in my jupyter notebook, is it normal? Thanks a lot.

image

@gaddamshreya1
Copy link
Collaborator

Hi @HelloWorldLTY ,

Thank you for using Tangram and bringing this to our attention. Could you let us know the versions of Tangram and Seaborn you're using?

@omarhalawa3301
Copy link

Hi, I have been running into the first issue (tg.plot_auc() error) as well with tg 1.0.4 and seaborn 0.13.2. I looked into the repo code, and this specific (and deprecated for newer versions of seaborn) seaborn.scatterplot() syntax seems to only be used in this once odd instance. Aside from tg.plot_auc() calls, both tutorial notebooks run perfectly fine.

I've added below the .yaml for the conda environment I am using with the explicit versions I need. I understand that these may not be the exact package versions that you expect for tg 1.0.4, but the current pip dependencies do not specify any specific versions, and so I believe this could be an easy fix on your end to resolve this issue for myself and others like the original issue poster with something like a simple change of the code to:

sns.scatterplot(data=pd.DataFrame({'x': xs, 'y': ys}), alpha=0.5)

Please let me know, and thank you.

YAML:

name: tg_env
channels:
  - conda-forge
dependencies:
  - python=3.11
  - pip
  - pip:
      - squidpy==1.4.1
      - jupyterlab==3.6.3
      - matplotlib==3.7.2
      - numpy==1.24.3
      - pandas==2.2.0
      - scanpy==1.9.8
      - scipy==1.11.1
      - scikit-learn==1.3.0
      - seaborn==0.13.2
      - tangram-sc==1.0.4
      - tqdm==4.65.0

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

3 participants