Is it possible to have 2 yaxis from 0 to 1, one on top of each other?

I know about the twin axes, but I’m looking for something like this that can be done with matplotlib:

I’m essentially combining 2 plots, both of them having data points between 0-1, but I don’t want them to mix. So I would like one at the bottom and one on top.

Is it possible to do this using bokeh? If so I’ll appreciate some direction.

Hi,

Not in a single plot. But you can stack two plots in a column with no padding or space between them for the same visual effect. See the OHLC app example:

https://github.com/bokeh/bokeh/tree/master/examples/app/ohlc

Thanks,

Bryan

···

On Feb 20, 2018, at 03:41, [email protected] wrote:

I know about the twin axes, but I’m looking for something like this that can be done with matplotlib:

I’m essentially combining 2 plots, both of them having data points between 0-1, but I don’t want them to mix. So I would like one at the bottom and one on top.

Is it possible to do this using bokeh? If so I’ll appreciate some direction.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2a31feee-0166-4341-80aa-4d0ce319404a%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.