mwaskom / seaborn

Statistical data visualization in Python
https://seaborn.pydata.org
BSD 3-Clause "New" or "Revised" License
12.59k stars 1.93k forks source link

Seaborn with scanpy and statannotations #3741

Closed LioLenr closed 3 months ago

LioLenr commented 3 months ago

Hello,

I am trying to add statistical annotation on a boxplot I generated with scanpy but I get those errors :

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. scanpy 1.10.2 requires seaborn>=0.13, but you have seaborn 0.11.2 which is incompatible.

So I upgraded seaborn

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. statannotations 0.6.0 requires seaborn<0.12,>=0.9.0, but you have seaborn 0.13.0 which is incompatible.

How do I solve that ?

Best regards,

Lionel Lenoir

mwaskom commented 3 months ago

Hi, this isn't really a seaborn question, it sounds like you just need to find a version of these dependencies that all work with each other.