Can I do this with a histogram and scatter plot?

For example I have a scatter plot, with a histogram at the bottom of it. I would like it all to be done ‘inline’ so that its available offline. I’ve been able to load data and create linked scatter plots to enable brushing, but I’m not sure how to set up a scatter with a histogram below it, and create a sort of constraint arm on both sides of the histogram. So for example:

As you can see the bar at the bottom. If that is a histogram, and the top graph is a scatter plot. Is this possible in bokeh? Am I able to do this, and still have brushing available on the scatter? If you can give me some advice, maybe even a code example that I can load some data into? Thank you very much guys!