matplotlib histogram stacked equivalent

I am trying to replicate

import numpy as np

import matplotlib.pyplot as plt

generate sample data

grey_height = 28 * np.random.randn(100)

lab_height = 24 * np.random.randn(100)

plt.hist([grey_height, lab_height], stacked=True, color=[‘r’, ‘b’])

how can I achieve this with Bokeh?

Thank you,


Hello Naoko,

Please take a look at the Gallery available in Bokeh’s website.

There is an specific example for stacked bar chart:

You can post other questions after reading/playing w the example.