We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using histogram(), specifying a number of bins with the input argument nbins isn't working.
histogram()
nbins
rng(1) x = randn(100,1); nbins = 5; histogram(x,nbins) fig2plotly();
The previous code should plot a histogram with 5 bins, however, it plots it with many more. This leads to differences in each bin's width and value.
Expected and generated (https://chart-studio.plotly.com/~xarico10/495/#/) plots:
Examples on using nbins can be found on: https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.histogram.html#buiynvy-8
The text was updated successfully, but these errors were encountered:
fix issue #197
332a4d6
Merge pull request #218 from plotly/fixing_issue_197
8379426
gilbertogalvis
No branches or pull requests
When using
histogram()
, specifying a number of bins with the input argumentnbins
isn't working.The previous code should plot a histogram with 5 bins, however, it plots it with many more. This leads to differences in each bin's width and value.
Expected and generated (https://chart-studio.plotly.com/~xarico10/495/#/) plots:


Examples on using
nbins
can be found on:https://www.mathworks.com/help/matlab/ref/matlab.graphics.chart.primitive.histogram.html#buiynvy-8
The text was updated successfully, but these errors were encountered: