Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在不点击任何参与按钮的情况下显示图表?
希望当前默认打开的顶部按钮(见图)默认关闭。
目前 Holoviews 没有直接公开这个选项,所以你必须定义一个自定义的钩子来修改底层的散景模型,它应该看起来像这样:
def tools(plot, element): plot.handles['plot'].toolbar.active_drag = None hv.Curve([]).opts(hooks=[tools])