asntech / intervene

Intervene: a tool for intersection and visualization of multiple genomic region and gene sets
http://intervene.rtfd.io/
Other
132 stars 28 forks source link

Pairwise plot seems to have issues with recent seaborn #12

Closed mvdbeek closed 4 years ago

mvdbeek commented 5 years ago

I'm seeing the following traceback if I set htype to dendrogram:

Traceback (most recent call last):
  File "/Users/mvandenb/miniconda3/envs/__intervene@0.6.4/bin/intervene", line 606, in <module>
    main()
  File "/Users/mvandenb/miniconda3/envs/__intervene@0.6.4/bin/intervene", line 426, in main
    pairwise.pairwise_intersection(label_names, options)
  File "/Users/mvandenb/miniconda3/envs/__intervene@0.6.4/lib/python3.6/site-packages/intervene/modules/pairwise/pairwise.py", line 478, in pairwise_intersection
    heatmap_dendrogram(matrix,outfile, options)
  File "/Users/mvandenb/miniconda3/envs/__intervene@0.6.4/lib/python3.6/site-packages/intervene/modules/pairwise/pairwise.py", line 304, in heatmap_dendrogram
    sns.plt.setp(sns_plot.ax_heatmap.yaxis.get_majorticklabels(), rotation=0)
AttributeError: module 'seaborn' has no attribute 'plt'

I have seen that sns.plt is not part of the seaborn API anymore (https://stackoverflow.com/questions/45070959/atributeerror-module-object-has-no-attribute-plt-seaborn)

asntech commented 5 years ago

Apologies for the delay. I will check the pull request and merge. Thanks!!

jdamas13 commented 1 month ago

I'm finding the same issue when running pairwise dendrogram mode on the docker image asntech/intervene:v0.6.5. Is there a newer version that fixed it? Thanks!