我正在尝试创建两个依赖于相同滑块值的图形。不幸的是,当我尝试移动一个的图形时,我移动了另一个的坐标轴。另外,即使不明确设置,xlim也会链接在一起。这导致我绘制的曲线偏离图形。我附上图片供参考。如何使图形独立?
所以,我找到了答案。您可以将关键字“ shared_axes”设置为False。将这两个图都放在.opts(shared_axes=False)中。
.opts(shared_axes=False)