Skip to content

Instantly share code, notes, and snippets.

@commondatageek
Created August 17, 2016 15:05
Show Gist options
  • Save commondatageek/2fe891401f3a1a174995f9db0df24af0 to your computer and use it in GitHub Desktop.
Save commondatageek/2fe891401f3a1a174995f9db0df24af0 to your computer and use it in GitHub Desktop.
It appears that the Histogram chart in Bokeh will incorrectly stack bars when the range of the distribution is small.
import numpy as np
import bokeh.charts as ch
from bokeh.plotting import output_notebook, show
output_notebook()
p = ch.Histogram(data=np.random.uniform(low=0.55, high=0.65, size=1000))
show(p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment