如何在Holoviews中取消链接Panel对象的轴

问题描述

我正在尝试创建两个依赖于相同滑块值的图形。不幸的是,当我尝试移动一个的图形时,我移动了另一个的坐标轴。另外,即使不明确设置,xlim也会链接在一起。这导致我绘制的曲线偏离图形。我附上图片供参考。如何使图形独立?

Two graphs that both use the same "Hour" and "Statistic" widget slider. Notice that the axes are linked,when they are not supposed to.

Normal ECDF graph when not linked in the panel

解决方法

所以,我找到了答案。您可以将关键字“ shared_axes”设置为False。将这两个图都放在.opts(shared_axes=False)中。