我正在使用 HvPlot,它运行良好,但我不知道如何删除默认工具“pan”、“wheel_zoom”和“box_zoom”。我的 HvPlot 代码是:
points = df.hvplot.line(x='x', y='y',
grid=True,
tools=['xpan', # move along x
'xwheel_pan', # move along x with wheel
'xwheel_zoom', # zoom on x with wheel
'xzoom_in', # zoom in on x
'xzoom_out', # zoom out on x
'crosshair', # show where the mouse is on axis
'xbox_zoom', # zoom on selection along x
'undo', # undo action
'redo'], # redo action
width=1200, height=550,
aggregator='any',
datashade=True)
我有这个数字: