☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

matplotlib histogram stacked equivalent

Community Support
Naoko
Naoko

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’])

plt.show()

how can I achieve this with Bokeh?

Thank you,

Naoko

⌁   Link to post

End of archived discussion · Replies are disabled