如何使用python回调重置散景图

问题描述 投票:-1回答:1

我使用散景服务器生成了3个散景图。我们有内置的重置工具。但要求是在单击按钮中重置整个数字.Rest应该像,重置缩放级别,平移,选择等。

python bokeh reset
1个回答
0
投票

只需将所有图表放在网格中即可。对于垂直阵容使用ncols = 1,对于水平ncols = 3

from bokeh.layouts import gridplot

grid = gridplot([plot1, plot2, plot3], ncols = 1)
show(grid)
© www.soinside.com 2019 - 2024. All rights reserved.