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

Create 2D histogram with JAX #67

Closed
Tracked by #31
redeboer opened this issue Aug 1, 2024 · 0 comments · Fixed by #70
Closed
Tracked by #31

Create 2D histogram with JAX #67

redeboer opened this issue Aug 1, 2024 · 0 comments · Fixed by #70
Assignees
Labels
⚙️ Enhancement Improvements and optimizations of existing features

Comments

@redeboer
Copy link
Member

redeboer commented Aug 1, 2024

In order to create 2D histograms interactive in #31, you need to create the 2D histograms with JAX (or NumPy) instead of with Matplotlib, because that is faster on slider changes. This means replacing the call to matplotlib.pyplot.hist2d() with:

There are no examples yet of how to do this on compwa.github.io/reports, but you can have a look at this answer on StackOverflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Enhancement Improvements and optimizations of existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants