Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
277 views
in Technique[技术] by (71.8m points)

holoviews - Is there a way to add/remove a panel using a button in Holoviz?

I am trying to create a tool using Holoviz/PyViz packages (Holoviews, Param, Panel, Xarray). I have created two panels which each take in a dataset, with widgets to select parameters, and produces a plot. I would like the main plot to be the default of the tool when it's opened, with a button that when pressed adds the second panel and plot. I can do this already, but I would like to create a 'Clear' button which removes the second panel and plot, or alternatively just a 'Tool reset' button that will reset to the default. I haven't seen anything like this in the PyViz examples so far. Is there a way to do this?

question from:https://stackoverflow.com/questions/65921905/is-there-a-way-to-add-remove-a-panel-using-a-button-in-holoviz

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...