# Nbinsx and nbinsy in Histogram

**URL:** <https://community.plotly.com/t/nbinsx-and-nbinsy-in-histogram/67547>\
**Category:** plotly.js\
**Tags:** question\
**Created:** [September 1, 2022, 5:52am UTC](https://community.plotly.com/t/nbinsx-and-nbinsy-in-histogram/67547 "2022-09-01T05:52:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmeagle](https://avatars.discourse-cdn.com/v4/letter/p/34f0e0/32.png) [@pmeagle](https://community.plotly.com/u/pmeagle)\
**Post date:** [September 1, 2022, 5:52am UTC](https://community.plotly.com/t/nbinsx-and-nbinsy-in-histogram/67547/1 "2022-09-01T05:52:53Z")

</div>

Hello team,

I have a question about histogram in Plotly. In the below link, we have all the parameters from plotly histogram and among them, “nbinsx” and “nbinsy” seem to have the same description. Can you please let us know what exact difference in detail?

> **[Histogram](https://plotly.com/javascript/reference/histogram/)**
>
> Figure

Thank you.
