-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix small density-bug and added test #189
Conversation
@@ -552,6 +557,30 @@ def _scatter_density(x, y, binsize: float = 0.1, method: str = "linear"): | |||
for i in range(len(cxy)): |
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.
Is the double loop necessary?
How about?
hist = histodata.flatten()
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.
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.
Great. Thanks
Why do you use double-underscore for prefixing your helper functions? - I guess they are not that secret.
Also, would good with removing the double loop but it is not essential in my eyes
Because henrik suggested making them private, I guess |
Hi,
bins=19
and another withbins=21
)