Question

Which setting do I have to use to fit the ordinate axis position in the middle to the other two? The bigger y-axis scale moves it away sadly.

I am creating the graphs with:

plotting.gridplot(rows)

Where

rows.append(l) 

with

l = line('x', 'y', source=datasource,
            x_range=x_range[0], ...]
    x_range[0] = l.x_range

for multiple 'y' in the datasource.

The graphs range is coupled via the x_range.

enter image description here

Was it helpful?

Solution

That's a bit hard to do at the moment, unfortunately. We are in the process of integrating cassowary.js for much better layout options of subplots, guides, annotations, etc. In the mean time, you can set the min_border (and min_border_left, min_border_top, etc) on your plots. This will make the border area a minimum size even if it could be smaller. So if you set it large enough to accommodate any labels you expect to see, then it should help make the plot sizes consistent.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top