Hello,when I was using the hclust2 to draw, there is a problem occurred. Can you please help me solve it ?Here is the warning.
/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py:588: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. This has been deprecated since 3.3 and in 3.6, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = mpl.cm.get_cmap("bbcry").copy()
cm.set_under( bottom_col )
/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py:594: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. This has been deprecated since 3.3 and in 3.6, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = mpl.cm.get_cmap("bbcry").copy()
cm.set_over( top_col )
Traceback (most recent call last):
File "/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py", line 825, in
hclust2_main()
File "/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py", line 822, in hclust2_main
hm.draw()
File "/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py", line 684, in draw
norm = norm_f( vmin=minv if minv > 0.0 else None, vmax=maxv)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/_api/deprecation.py", line 459, in wrapper
return func(*args, *kwargs)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/init.py", line 1414, in inner
return func(ax, map(sanitize_sequence, args), **kwargs)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/axes/_axes.py", line 5492, in imshow
im._scale_norm(norm, vmin, vmax)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/cm.py", line 381, in _scale_norm
"Passing parameters norm and vmin/vmax simultaneously is "
ValueError: Passing parameters norm and vmin/vmax simultaneously is not supported. Please pass vmin/vmax directly to the norm when creating it.
Hello,when I was using the hclust2 to draw, there is a problem occurred. Can you please help me solve it ?Here is the warning.
/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py:588: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. This has been deprecated since 3.3 and in 3.6, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = mpl.cm.get_cmap("bbcry").copy() cm.set_under( bottom_col ) /data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py:594: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. This has been deprecated since 3.3 and in 3.6, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = mpl.cm.get_cmap("bbcry").copy() cm.set_over( top_col ) Traceback (most recent call last): File "/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py", line 825, in
hclust2_main()
File "/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py", line 822, in hclust2_main
hm.draw()
File "/data/workdir/huwa/software/miniconda3/envs/mpa/bin/hclust2.py", line 684, in draw
norm = norm_f( vmin=minv if minv > 0.0 else None, vmax=maxv)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/_api/deprecation.py", line 459, in wrapper
return func(*args, *kwargs)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/init.py", line 1414, in inner
return func(ax, map(sanitize_sequence, args), **kwargs)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/axes/_axes.py", line 5492, in imshow
im._scale_norm(norm, vmin, vmax)
File "/data/workdir/huwa/software/miniconda3/envs/mpa/lib/python3.7/site-packages/matplotlib/cm.py", line 381, in _scale_norm
"Passing parameters norm and vmin/vmax simultaneously is "
ValueError: Passing parameters norm and vmin/vmax simultaneously is not supported. Please pass vmin/vmax directly to the norm when creating it.