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
So far extrema for density plots and bins for histograms are computed globally (they are the same for all variables in all subplots).
We currently do not have an interface to decide whether they should be computed globally, per subplot (to allow different subplots to have different bins, while still having consistent bins per subplots to stack or dodge) or per trace.
A possible approach could be to completely outsource this to the user, and pass as bins (or any other attribute) a function that takes as input a Dict whose keys encode the "primary variables" that specify which trace it is and whose values are positional and named arguments for the analysis. This function would return another Dict with the bins information.
The text was updated successfully, but these errors were encountered:
So far extrema for density plots and bins for histograms are computed globally (they are the same for all variables in all subplots).
We currently do not have an interface to decide whether they should be computed globally, per subplot (to allow different subplots to have different bins, while still having consistent bins per subplots to
stack
ordodge
) or per trace.A possible approach could be to completely outsource this to the user, and pass as
bins
(or any other attribute) a function that takes as input aDict
whose keys encode the "primary variables" that specify which trace it is and whose values are positional and named arguments for the analysis. This function would return anotherDict
with the bins information.The text was updated successfully, but these errors were encountered: