-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Norm should be passed to facetgrid too #1160
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
Conversation
cmap_params = _determine_cmap_params(self.data, | ||
norm=mpl.colors.SymLogNorm(0.1)) | ||
self.assertIsNotNone(cmap_params['norm']) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, we can test this without having to test a private function like _determine_cmap_params
. We should be able to check that the facet grid subplots are using the correct norm
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can get rid of this test then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One last little comment and then this like it can go it.
cmap_params = _determine_cmap_params(self.data, | ||
norm=mpl.colors.SymLogNorm(0.1)) | ||
self.assertIsNotNone(cmap_params['norm']) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can get rid of this test then.
fixes #1159