deeptools / deepTools

Tools to process and analyze deep sequencing data.
Other
685 stars 213 forks source link

plotHeatmap set multiple yMax values error #1278

Closed wddyzxxx closed 8 months ago

wddyzxxx commented 1 year ago

deeptools 3.5.4.post1 Python 3.10.13

plotHeatmap -m ../05_visualization/matrix/H3K4me3_1sc_rep1_4_methods.mtx.gz --refPointLabel "center" -o ../05_visualization/plot/Heatmap_HCT116_H3K4me3_1sc_rep1_4_methods_center.png --dpi 300 --colorList "white,#2600f6" --zMax 300 10 10 300 5 --yMax 300 10 10 300 10 Traceback (most recent call last): File "/data/yuanzhen/conda/miniconda/envs/cutag/bin/plotHeatmap", line 8, in sys.exit(main()) File "/data/yuanzhen/conda/miniconda/envs/cutag/lib/python3.10/site-packages/deeptools/plotHeatmap.py", line 876, in main plotMatrix(hm, File "/data/yuanzhen/conda/miniconda/envs/cutag/lib/python3.10/site-packages/deeptools/plotHeatmap.py", line 587, in plotMatrix import matplotlib.tight_layout as tl ModuleNotFoundError: No module named 'matplotlib.tight_layout'

WardDeb commented 1 year ago

Thanks for reporting this, a fix for this sits in #1282, though needs some extra tests. You can stick to an older version, or try to test if the fix works for you by checking out the plotheatmap_ymax_mpl branch and installing from there.

Kind regards,

WardDeb