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

customize bin_width #55

Closed
UBCYujia opened this issue Jul 21, 2024 · 5 comments
Closed

customize bin_width #55

UBCYujia opened this issue Jul 21, 2024 · 5 comments

Comments

@UBCYujia
Copy link

Hi,

I’m using your project and find it very helpful. Could we add an option to customize the bin width in the pairplot (not just for the contour)? It would be extremely useful.

Thank you!

@sefffal
Copy link
Owner

sefffal commented Jul 23, 2024

Hello @UBCYujia , thank you for the feature request! Do you need to specify the bin width separately per series?

@UBCYujia
Copy link
Author

Thank you for your reply! Yes ,it would be great if we can specify bin width separately!

@sefffal
Copy link
Owner

sefffal commented Aug 1, 2024

Hi @UBCYujia , I haven't forgotten this request. I'm still thinking about the best way to provide this option.

We don't currently have any ways in the code to control a visualization element (like a 1D histogram) that is specific to a given column name.

We do currently have a public interface for controlling a histogram calculation: you can provide a function called prepare_hist to any of the histogram series. But this function doesn't get called with the row or column names, so it doesn't meet your purposes.

We might need to release a new major/breaking version of the package to address this.

@UBCYujia
Copy link
Author

UBCYujia commented Aug 4, 2024

Thank you so much for the update and I understand the challenge. prepare_hist sounds like a good direction to try first!

@sefffal
Copy link
Owner

sefffal commented Aug 27, 2024

Hello @UBCYujia , this is now implemented! Please see the documentation for details. I hope it helps!

@sefffal sefffal closed this as completed Aug 27, 2024
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

No branches or pull requests

2 participants