<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37510501/70857972-b38c0780-1f1e-11ea-80f3-a5ba4c7b1515.png"><img src="https://user-images.githubusercontent.com/37510501/70857972-b38c0780-1f1e-11ea-80f3-a5ba4c7b1515.png" alt="Screenshot 2019-06-08 at 11 44 11 PM" style="max-width: 100%;"></a><br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/37510501/70857973-bb4bac00-1f1e-11ea-8d51-1bd2b45f87e5.png"><img src="https://user-images.githubusercontent.com/37510501/70857973-bb4bac00-1f1e-11ea-8d51-1bd2b45f87e5.png" alt="Screenshot 2019-06-08 at 11 49 18 PM" style="max-width: 100%;"></a></p>
<p dir="auto">An issue that arises when plotting histograms of discrete data with Matplotlib seems to also come up in <code class="notranslate">distplot</code> as well. That is, there are often empty bins in the histogram that are entirely artifacts of the plot. See here for an example with Poisson data:</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/4bef2612a9741b9dc1cc8d7739b676da5c92ca022bfa0aaac8ab2744651c6edb/687474703a2f2f642e70722f692f31653238552b"><img src="https://camo.githubusercontent.com/4bef2612a9741b9dc1cc8d7739b676da5c92ca022bfa0aaac8ab2744651c6edb/687474703a2f2f642e70722f692f31653238552b" alt="poisson data" data-canonical-src="http://d.pr/i/1e28U+" style="max-width: 100%;"></a></p>
<p dir="auto">Is there any way that <code class="notranslate">distplot</code> could try to detect this and adjust the bins automagically?</p>