More info at: http://holoviz.org/
Questions tagged [holoviz]
108 questions
3
votes
1 answer
Change fontsize in holoviews or hvplot
How do I change fontsizes using holoviews or hvplot?
Here's a simple example of the plot I have:
# import libraries
import numpy as np
import pandas as pd
import holoviews as hv
import hvplot.pandas
hv.extension('bokeh', logo=False)
# create…

Sander van den Oord
- 10,986
- 5
- 51
- 96
3
votes
1 answer
Diagonal line with Holoviews (Python)
In Holoviews you can draw a horizontal line with hv.HLine() and a vertical line with hv.VLine() and add this to your plot.
But how can I draw a diagonal line and add that to my plot?

Sander van den Oord
- 10,986
- 5
- 51
- 96
3
votes
2 answers
How do i get my interactive Holoviews graph to display in Visual Studio (without Jupyter)?
I'm mainly using Jupyter Notebook / Lab when using Holoviews for interactive plotting.
How do I make Visual Studio display my interactive graphs and panels, without using the Interactive Jupyter inside Visual Studio?

Sander van den Oord
- 10,986
- 5
- 51
- 96
3
votes
1 answer
Set box zoom (or pan or wheel zoom) as default in using Holoviews or Hvplot
My hvplot has default pan and wheel zoom as way of zooming and moving the graph.
But I want box zoom to be the default in my graph.
How do I do this in hvplot or holoviews?
import numpy as np
import pandas as pd
import holoviews as hv
import…

Sander van den Oord
- 10,986
- 5
- 51
- 96
3
votes
1 answer
Select data from a Datashader plot
I'm using Datashader to make crossplots of different parameters due to the quantity of data I'm working with. My idea is to enable some kind of interaction that allows the user to select directly from the plot, the outliers based on the data's…

lsdR94
- 35
- 1
- 5
3
votes
3 answers
Raise errors and display traceback messages from panel dashboards
When I link widget updates to a function and display the output in a panel, errors that result from updating the widget to a value that the function cannot handle, cause the function to fail silently instead of terminating the execution of the panel…

joelostblom
- 43,590
- 17
- 150
- 159
2
votes
0 answers
How to let options of panel.widgets.MultiSelect depend on other widget inputs
I have a multiple select widget, pn.widgets.MultiSelect, and I am trying to get that when its value is selected it updates the options of another pn.widgets.MultiSelect. This is very similar to How do i automatically update a dropdown selection…

user2957945
- 2,353
- 2
- 21
- 40
2
votes
0 answers
How to link hovers of several bokeh / holoview / panel objects in python?
Is it possible to "link" the hover of two bokeh / holoview objects so the hover over the two objects are displayed at the same time?
Here is an example of what I would like to achieve:
Currently I can only display the hover on one of the image but…

lhoupert
- 584
- 8
- 25
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
1 answer
How to extend colorbar for 'out-of-range' values in Bokeh or Holoview?
In Matplotlib, there is the colorbar property extend that makes pointed end(s) for out-of- range values. How would you do the third subplots with Bokeh or Holoview?
I added a Matplotlib example below:
import numpy as np
import matplotlib.pyplot as…

lhoupert
- 584
- 8
- 25
2
votes
1 answer
Dynamically updating a Holoviz Panel layout
Without going into the motivational details, I want to perform the following sequence of step using Panel:
Display a panel.widgets.FileInput element.
Once a file has been selected, then display a panel.widgets.MultiSelect element with items from…

alwaysCurious
- 523
- 5
- 14
2
votes
1 answer
How can I replace part of a panel via a selection change in a Bokeh figure?
Normally, I am able to replace parts of a panel via pop and insert, which updates any existing panels automatically. However, if these are triggered from a bokeh selected.on_change callback,
existing panels do not update.
For example, running the…

joelostblom
- 43,590
- 17
- 150
- 159
2
votes
2 answers
Customizing marker lists in hvplot
I have a dataset like:
df = pd.DataFrame(np.random.rand(10,2),columns=['A','B'])
df['group'] = np.random.choice(4,size=10)
df['category'] = np.random.choice(['CC','DD'],size=10)
df['sizes'] = np.random.randint(10,50,size=10)
and I want a scatter…

Nirjhor Chakraborty
- 125
- 1
- 12
2
votes
1 answer
How to plot a stacked bar chart using hvplot?
I am trying to plot a stacked bar chart with 3 categorical variables and 1 numerical variable using hvplot.
Does anyone know how to properly plot the stacked bar chart?
Request Type 'D' & 'S' are not shown in different colors.
Data:
My…

david
- 23
- 3
2
votes
1 answer
Vega plot not displaying within a holoviz panel in jupyter notebook
I find the holoviz panel a very interesting solution to building data visualisation dashboards. Unfortunately, I have some issues getting a vega plot of a node-link diagram to work within a panel in a jupyter notebook.
The relevant imports…

Jan Aerts
- 91
- 4