Skip to content

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