ComPWA / gluex-nstar

Investigation of N* in GlueX photoproduction experiment
https://compwa.github.io/gluex-nstar
MIT License
2 stars 1 forks source link

Create 2D histogram with JAX #67

Closed redeboer closed 3 months ago

redeboer commented 3 months ago

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.