Panel is an open-source Python library that lets you create custom interactive web apps and dashboards by connecting user-defined widgets to plots, images, tables, or text.
Questions tagged [panel-pyviz]
49 questions
1
vote
1 answer
Use button to trigger action in Panel with Parameterized Class and when button action is finished have another dependency updated (Holoviz)
I am building a dashboard with Panel Holoviz using a Parameterized Class .
In this Class I would like a button that, when pushed starts training a model, and when the model is finished training, it needs to show a graph based on that model.
How do I…

Sander van den Oord
- 10,986
- 5
- 51
- 96
1
vote
1 answer
Get a different (non default) widget when using param in parameterized class (holoviz param panel)
I use a parameterized class to build my Panel dashboard.
I would like to use a CrossSelector but this selector does not seem to be available when looking at the options that library Param gives. It only seems to have a ListSelector.
How do i get…

Sander van den Oord
- 10,986
- 5
- 51
- 96
1
vote
0 answers
Holoviews - store table edits for selected group
I am very interested in being able to tag data interactively. I have large datasets with many identifiers and want to display one by one and then give a tag regarding quality. A similar use case would be relevant where I want to select parts of the…

geoviz
- 11
- 2
0
votes
0 answers
Panel app works fine locally but doesn’t render template properly when using .servable() on heroku
I have created a dashboard using panel, a python package. When running off my local machine for deploying, I was using .show() and this renders my app perfectly (see below…

Ben Cowley
- 49
- 10
0
votes
0 answers
Block update while setting multiple widgets
Is it possible using Panel to temporarily disable the automatic linking of widgets while setting the values of multiple widgets?
The code below shows a simplified example of my situation, in reality I have much more widgets. The key issue is that I…

Rutger Kassies
- 61,630
- 17
- 112
- 97
0
votes
2 answers
User defined function through inputs in Python
I wish to create a custom calculator where the user defines two parameters and a function using a GUI and when they click on calculate it executes their user defined function passing the two parameters.
argument1 = IntSlider( … )
argument2 =…

Curious
- 383
- 3
- 13
0
votes
0 answers
Panel Minimal Docker Image
I am looking for a minimal Docker image for a Panel Server. I have built up a environment.yml that I need to run the server and apps. Each app corresponds to a Jupyter Notebook and is in the same directory on the host. So far I have ran into some…

Curious
- 383
- 3
- 13
0
votes
0 answers
How to integrate dropdown to a dropdown in Panel
I am trying to implement a dropdown widget which houses other dropdowns as shown in the image below;
I am able to generate a dropdown using the Select widget, however, I am facing issues with integrating further dropdowns in one dropdown.

nikhil int
- 181
- 2
- 14
0
votes
1 answer
Interactive Xarray dataset raster visualisation app using Panel and hvplot
I am trying to replicate the Glaciers Demo using an Xarray of geospatial data. I am able to create pretty much exactly what I want but I am trying to create a Panel app that allows the user to select the data_vars, each of which has different…

Curious
- 383
- 3
- 13
0
votes
2 answers
Create interactive plot of the Continuous Uniform Distribution with sliders for parameter values
How can I create an interactive plot of the pdf and the cdf of the Continuous Uniform Distribution using python?
I would like to have interactive sliders with which I can adjust the parameters of the distribution.
This is handy for getting a better…

Sander van den Oord
- 10,986
- 5
- 51
- 96
0
votes
1 answer
Pyviz panel: can't work with FileInput widget
I must be missing something basic about how FileInput widget works in pyviz panel.
In the following code, I let the user select a csv file and the number of rows to display. If a file isn't selected, I generate some random data.
import pandas as…

Boris Gorelik
- 29,945
- 39
- 128
- 170
0
votes
2 answers
Code not recognizing ColumnDataSource for what it is
I want to change the data source of a simple line plot depending on what the user picks from a dropdown menu.
I have 2 dataframes, the weight and age of myself and my boyfriend.
my_weight = [60,65,70]
my_age = [21,22,25]
d_weight = [65,70,80]…

Ally Alfie
- 131
- 11
0
votes
1 answer
Is it possible to pass streams.Selection1D value to ipywidgets?
I saw examples of pyviz streams with hv.DynamicMap only.
I need to visualize selected items streams.Selection1D() from hv.Nodes() stream - on some kind of Label or TextArea - not on DynamicMap object.
Is it possible?

Dimas51
- 19
- 3
0
votes
1 answer
Panel RangeSlider widget in Holoviews Table
I'm trying to use RangeSlider widget from Panel library in a Holoviews Table (Dynamicmap).
However, after trying different ways of doing this, I am not being able to make this connection.
I was trying to do it in the following way:
import pandas as…

Vasconni
- 33
- 1
- 5
0
votes
2 answers
Install the latest git versions of holoviews, hvplot, panel, datashader and param
The libraries of the Holoviz ecosystem are continuously updated.
Using pip, how do I install the latest git versions of:
Holoviews
Hvplot
Panel
Datashader
Param

Sander van den Oord
- 10,986
- 5
- 51
- 96