-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Set norm to log if bins=='log' in hexbin #9223
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
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.
This looks good.
I find the name bins
for that argument very lamentable, and some of the docstring doesn't make a lick of sense to me. What does the following mean?
If an integer, divide the counts in the specified number
of bins, and color the hexagons accordingly.
If a sequence of values, the values of the lower bound of
the bins to be used.
Realised I could add the image test to an existing one, to avoid adding another test image. Other code is the same as before. |
@dstansby this needs a rebase. |
This also needs an API changes note. Agree it is better, but we need to document the change! |
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.
contingent on api_changes note and a rebase / squash.
Add API changes Fix hexbin test
Fixes #7842. I'm pretty sure that it doesn't make sense to supply both
bins
andnorm
, so have warned the user if both are supplied. I may be wrong though...