You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi- I'm trying to run hclust2 and getting the following error:
Traceback (most recent call last):
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 825, in
hclust2_main()
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 779, in hclust2_main
read = ReadCmd( )
^^^^^^^^^^
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 768, in init
Heatmap.input_parameters( p )
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 518, in input_parameters
pylab.register_cmap(name=n,cmap=my_cmap)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pylab' has no attribute 'register_cmap'
Any help or work around for this would be appreciated!
Thanks!
Lindsay
The text was updated successfully, but these errors were encountered:
I've just come across this and think this is an issue with a deprecated function in the newest version of Matplotlib (3.9.2 at date of post).
When using Matplotlib 3.7 or 3.8, it gives you a warning "The register_cmap function was deprecated in Matplotlib 3.7 and will be removed two minor releases later. Use matplotlib.colormaps.register(name) instead". Assuming this has not been integrated into hclust2 yet.
You could try downgrading your matplotlib-base package until it is fixed?
Hi- I'm trying to run hclust2 and getting the following error:
Traceback (most recent call last):
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 825, in
hclust2_main()
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 779, in hclust2_main
read = ReadCmd( )
^^^^^^^^^^
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 768, in init
Heatmap.input_parameters( p )
File "/project/crml-bio/.conda/envs/hclust2/bin/hclust2.py", line 518, in input_parameters
pylab.register_cmap(name=n,cmap=my_cmap)
^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pylab' has no attribute 'register_cmap'
Any help or work around for this would be appreciated!
Thanks!
Lindsay
The text was updated successfully, but these errors were encountered: