More info at: http://holoviz.org/
Questions tagged [holoviz]
108 questions
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
1
vote
1 answer
How do i get a horizontal violin plot or boxplot? (default is vertical in hvplot holoviews)
Hvplot plots default a vertical violinplot or boxplot. See example below.
How do I get this to be a horizontal plot? So basically I would like to rotate this plot.
import numpy as np
import pandas as pd
import hvplot
import hvplot.pandas
df =…

Sander van den Oord
- 10,986
- 5
- 51
- 96
1
vote
1 answer
Remove left ColorBar of grid heatmap plot in pvplot
I try to make grid heatmap by pvplot. I refer to this link.
https://hvplot.pyviz.org/user_guide/Subplots.html
import hvplot.pandas
from bokeh.sampledata.unemployment1948 import data
data.Year = data.Year.astype(str)
data =…

Lundi Lin
- 35
- 2
- 6
0
votes
0 answers
How to update a string shown in a Holoviz panel?
I have a variable currentValue of type string. This variables changes as the user interacts with the panel. I want to show the updated string to the user, but I only managed to display the initial value (which is nothing, because I initialize with…

Xtiaan
- 252
- 1
- 11
0
votes
0 answers
In Holoviz Panel, how to select a file and make its contents available for interactive graphs?
I want to replicate this example from the documentation of Holoviz Panel: https://panel-gallery.pyviz.demo.anaconda.com/hvplot_explorer. That is, I want to:
Have a dropdown menu in which I can select multiple data sources.
Have an upload button…

Xtiaan
- 252
- 1
- 11
0
votes
1 answer
In python Panel, how to show a matplotlib plot in a panel.Tabs view?
The Python Panel library recommends using Bokeh for plotting, but some statistical figures are lacking from the Bokeh package. I want to use matplotlib (or maybe seaborn) to create figures that I can place in panel.Tabs.
For example, the following…

Xtiaan
- 252
- 1
- 11
0
votes
1 answer
Scatter Plot Not Updating With Widget Selection in Python Panel Holoviz
I want a Python Panel app with dynamic plots, and different plots depending on which menu/button is selected from a sidepanel, so I started from this great starting point: https://discourse.holoviz.org/t/multi-page-app-documentation/3108/2
Each page…

Max Power
- 8,265
- 13
- 50
- 91
0
votes
0 answers
Panel widget buttons (NEXT and PREV) not working if the output is saved in html
import panel as pn
import holoviews as hv
df = pd.read_csv('https://raw.githubusercontent.com/miura/NEUBIAS_AnalystSchool2020/master/Arianne/Dataset/grant_complete.csv')
df.head()
#df['year'].unique() --> array([1973, 1975, 1987, 1991, 2012],…

Debashish Samantaray
- 33
- 8
0
votes
0 answers
Method to change xticks for Bokeh bar plot
I would like to change the xticks and xiticklables in hv.Barplot. However, currently I could only achieve that by adding hv.Curve(bar).options(xticks = xtic_labels). This will be plotted as curve not bar plot.
Can anyone give suggestion that how I…

Han Zhengzu
- 3,694
- 7
- 44
- 94
0
votes
0 answers
Is it possible to exit the command window when Holoviz Panel application browser window is closed?
I am writing an application that uses Holoviz panel. After interaction with the application is completed, I close the browser window, but the server remains running in the terminal/command line window.
Is it possible to automatically close the…

SultanOrazbayev
- 14,900
- 3
- 16
- 46
0
votes
0 answers
Hvplot not updating through callback (otherwise working)
Can somebody help me complete this demo. Everything is working. I have an interactive map that I populate from a Pandas Dataframe and when clicked it update the hvplot object, but for some reason the title update is visible only if I call on the…

Curious
- 383
- 3
- 13
0
votes
0 answers
Custom PyDeck Tooltip in Python Panel Application - Fails to Access Data
Good morning,
I'm trying to get a custom tooltip working in a PyDeck map embedded in a Python Panel application, and am noticing a weird issue where the tooltip data fails to render in the Panel application but shows up just fine in a PyDeck…

Chris
- 3,109
- 7
- 29
- 39
0
votes
0 answers
holoviews, panel, hvplot - linked selection doesn't reset when using dropdown
I have a dropdown, a chart and a table interlinked. All works fine, except when I make a new selection from the dropdown, the brush selection doesn't reset itself and I have to click refresh on the chart to see new values corresponding to the newly…

kuatroka
- 562
- 7
- 18
0
votes
2 answers
How to render a python panel component from react with pyodide?
I am trying to use an example from the panel documentation of how to display a panel component from python using pyodide, but from a react component, instead of from pure html.
I have set up a minimal NextJS react app which can be cloned, and ran…

SomeRandomPhysicist
- 1,531
- 4
- 19
- 42
0
votes
0 answers
How to fix "ValueError: operands could not be broadcast together with shapes (809,) (2,)" when using datetime widget for panel plot?
I am trying to use a DateRange slider from panel to create interactive plots.
The year slider:
yearSlider2 = pn.widgets.DateRangeSlider(
name='Date Range Slider',
start=dt.datetime(1950, 1, 1), end=dt.datetime(2023, 1, 1),
…

dxyz1
- 1