Alex Peniz
Alex Peniz

Reputation: 483

How to unlink axes for Panel objects in Holoviews

I am trying to create two graphs that depend on the same slider values. Unfortunately, when I try to move the graph of one, I move the axes of the other. In addition, the xlims are linked when they are not supposed to, even when they are set explicitly. This is causing my plotted curves to be off the graph. I attached pictures for reference. How do I make it so the graphs are independent?

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

Upvotes: 1

Views: 815

Answers (1)

Alex Peniz
Alex Peniz

Reputation: 483

So, I found out the answer. There's a keyword "shared_axes" that you can set to be False. Put this in .opts(shared_axes=False) for both plots.

Upvotes: 5

Related Questions