Consider the following gridplot with two subplots
from bokeh.plotting import figure
from bokeh.layouts import gridplotplot1 = figure(width=400, height=400, title=“Plot 1”,tools=[“fullscreen”])
plot1.circle([1, 2, 3], [4, 5, 6], size=10, color=“navy”, alpha=0.5)plot2 = figure(width=400, height=400, title=“Plot 2”)
plot2.square([1, 2, 3], [6, 5, 4], size=10, color=“green”, alpha=0.5)grid = gridplot([[plot1, plot2]],merge_tools=False,toolbar_location=None)
here each subplot has its own toolbar, and when clicking the first subplot fullscreen tool only that subplot gets put in fullscreen.
When the tools are merged like below:
grid = gridplot([[plot1, plot2]])
when clicking the fullscreen tool it looks like this:
Is there a way that I could merge tools EXCEPT for the fullscreen tool? Either by having each subplot fullscreen tool in the shared toolbar, or by having each subplot with a toolbar that has its own fullscreen tool (while other shared tools are in the gridplot toolbar) ?
Thank you !