Questions tagged [param-pyviz]

7 questions
2
votes
1 answer

Panel in Python - How to set the order that events are called

I am building a dashboard using panel and trying to figure out how to have a change of a control ("threshold" in the below class) fire a process that updates an attribute of the class before any other functions are called that will use that…
B_Miner
  • 1,840
  • 4
  • 31
  • 66
2
votes
1 answer

Holoviz/Param/Panel : is it possible to change, hide or delete the title of a param panel holding parameters from a Parameterized class?

I have defined a custom Parameterized class the folowing way: class Myclass(param.Parameterized): var1 = param.ObjectSelector( objects=['A', 'B', 'C'], default='B', label='Param1', ) seg3 =…
Pierre Massé
  • 693
  • 1
  • 5
  • 23
2
votes
0 answers

How to restrict range with Panel Pyviz datepicker?

I have a chart plotting datetime data between a Start and End date the user selects from 2 Panel datepickers. At the moment the user can select an End date than comes before the Start date, or a Start date that falls after the selected End date.…
Ally Alfie
  • 131
  • 11
1
vote
1 answer

holoviz/param/panel: updating Str or HTML panes via python callback

I would like to know if there is a way to update a panel pane content through a python callback. If I define a Parameterized custom class the following way: import panel as pn pn.extension() import param class Myclass(param.Parameterized): …
Pierre Massé
  • 693
  • 1
  • 5
  • 23
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
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
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