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
Currently, the binning of plot_marginal() is controlled by two parameters:
n_bins: int = 10 and
bin_method: str = "uniform".
Ideally, the user could also pass user-defined bins, or a string referring to a typical method to calculate the number of bins ("scott", "sturges", "fd"), just like the bins parameter of np.histogram():
We could rename n_bins to bins. If bin_method = "uniform", we call np.histogram(x, bins=bins). If bin_method = "quantile", bins would need to be an integer.
The text was updated successfully, but these errors were encountered:
Currently, the binning of
plot_marginal()
is controlled by two parameters:Ideally, the user could also pass user-defined
bins
, or a string referring to a typical method to calculate the number of bins ("scott", "sturges", "fd"), just like thebins
parameter ofnp.histogram()
:We could rename
n_bins
tobins
. Ifbin_method = "uniform"
, we callnp.histogram(x, bins=bins)
. Ifbin_method = "quantile"
,bins
would need to be an integer.The text was updated successfully, but these errors were encountered: