You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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:jax.numpy.histogram2d()
can computes the bin valuespcolormesh()
.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.
The text was updated successfully, but these errors were encountered: