Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass vmin and vmax inside norm #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vitorheidrich
Copy link

@vitorheidrich vitorheidrich commented Jan 14, 2023

Since matplotlib 3.3 passing vmin (--minv) and vmax (--maxv) simultaneously with norm is deprecated. This PR proposes passing vmin/vmax within norm.

Basically, I bumped into the following while running hclust2.py in a new conda env (matplotlib=3.6.2).

ValueError: Passing a Normalize instance simultaneously with vmin/vmax is not supported. Please pass vmin/vmax directly to the norm when creating it.

Then noticed a few people recently faced the same issue, as reported here, here (closes #8) , and here. This simple fix did the job for me.

Thanks

Since matplotlib 3.3 passing vmin (--minv) and vmax (--maxv) simultaneously with norm is deprecated. Now vmin/vmax are passed within norm.
@Yaqiao-Li
Copy link

I installed in matplotlib=3.6.2 conda environment, but still got this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hclust2 reported the matplotlib warning
2 participants