question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shared / matching auto-binning for histogram2d traces

See original GitHub issue

Split from https://github.com/plotly/plotly.js/pull/3506#issuecomment-460696495

We don’t currently match auto-binning for histogram2d traces on the same subplot, unlike we do for stacked & grouped histogram traces post https://github.com/plotly/plotly.js/pull/3044.

To do so, we could either:

cc @nicolaskruchten

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
kevinoecommented, May 7, 2019

@etpinard - I really like it!

0reactions
etpinardcommented, May 8, 2019

I went with

  • make data[0].xbins + data[1].xbins compatible AND data[0].ybins + data[1].ybins compatible (i.e. lead to two bin “groups”)

in https://github.com/plotly/plotly.js/pull/3845

Read more comments on GitHub >

github_iconTop Results From Across the Web

Shared autobin for overlaid histograms #3749 - plotly/plotly.js
For px we need some new attrs to get histograms to share autobin logic ... work for traces on the same bin axis...
Read more >
Histograms in Python - Plotly
In statistics, a histogram is representation of the distribution of numerical data, where the data are binned and the count for each bin...
Read more >
RooHistPdf Class Reference - ROOT
RooHistPdf implements a probablity density function sampled from a multidimensional histogram. The histogram distribution is explicitly normalized by ...
Read more >
plotly.graph_objects.Histogram — 5.11.0 documentation
Note that histogram and histogram2d* trace can share the same bingroup. cliponaxis – Determines whether the text nodes are clipped about the subplot...
Read more >
MATLAB autobinning - MathWorks
By default, autobinning bins all predictors and uses the Monotone ... Use plotbins to display the histogram and WOE curve for the predictor...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found