PyViz is an initiative for making Python-based visualization tools work well together - includes holoviews, geoviews, datashader, hvplot, panel, colorcet, param and imagen.
Questions tagged [pyviz]
75 questions
1
vote
1 answer
How to resize Tab name area in Pyviz Panel
I'm trying to create a tab layout using Pyviz-Panel (example code below) in a Jupyter notebook. I'd like to keep the size of individual tab names the same.
However, tab.width changes/sets the size of the overall window for the Tabs set.
Even…

Nirjhor Chakraborty
- 125
- 1
- 12
1
vote
1 answer
Pyviz Panel app.show() Does Not Work When Using Jupyter Notebook Remotely
I installed Anaconda on a CentOS VM on an Ubuntu server. I then created a conda environment for all of my python data science libraries on this VM. I have a matching conda environment on my laptop.
I then followed this guide to allow me to perform…

mmTmmR
- 573
- 2
- 8
- 20
1
vote
1 answer
Adding values to grouped bar chart in hvplot
I'm trying to add labels to a grouped hvplot barchart.
My example dataframe has the following structure:
import pandas as pd
import numpy as np
import holoviews as hv
import hvplot.pandas
hv.extension('bokeh')
df = pd.DataFrame({'A' :…

nsis
- 63
- 6
1
vote
2 answers
How arrange pyviz panel widgets in a gridspec without any borders?
I would like to arrange pyviz panel widgets with the help of a gridspec. Expected result is a screen without any borders. In the example the green areas match nicely, however there is a (white) border around the blue widget ? How can I remove it ?…

Marcel Flygare
- 837
- 10
- 19
1
vote
0 answers
How to align Gridspace plots in holoviews Layout?
I have trouble understanding how the holoviews Layout works if it contains Gridspace components. In the example below I have 2 simple plots that are returned as Gridspace. While they display just fine, I'd like to align them on the right edge.…

sschafer
- 49
- 2
1
vote
1 answer
How to serve multiple apps simultaneously with Panel/PyViz?
I've been exploring this problem of how to write a suite of small utilities but serve them up together. It's like writing multiple little .py files that each gives us a panel app, but I wanted to serve them up via a single Docker container with a…

ericmjl
- 13,541
- 12
- 51
- 80
1
vote
0 answers
Customization of panel.pane.Audio element
is there a way to customize the panel.pane.Audio element?
I've tried to pass arguments like width or height like:
pn_audio = pn.pane.Audio(audio_data, sample_rate=sps, width=800)
but with no effect after starting as bokeh app.
Here is some usable…

Th3tom3kK
- 11
- 2
1
vote
1 answer
How to Successfully Produce Mosaic Plots in Pyviz Panel Apps?
I have created the following dataframe df:
Setup:
import pandas as pd
import numpy as np
import random
import copy
import feather
import matplotlib.pyplot as plt
from statsmodels.graphics.mosaicplot import mosaic
import plotly.graph_objects as…

mmTmmR
- 573
- 2
- 8
- 20
1
vote
2 answers
How to visualize time span with holoviews?
I recently came across holoviews as promising visualization library in python and - as a practice - I wanted to transfer some of my existing code to see how it looks like in hv. I reached a given plot which I am unable to recreate.
I'd like to…

doodoroma
- 157
- 2
- 11
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
0 answers
Intake Catalog - Converter kwarg
Is it possible to include the "converter" kwarg in an intake catalog? I have a bunch of csv files with lat / lon coordinates with "N" and "S" suffixes. Something along the lines of:
sources:
Source1:
description: A Description
driver: csv
…

Rowan_Gaffney
- 452
- 5
- 17
1
vote
1 answer
How to implement authentication in a Panel app
Is there a way to authenticate a Panel app? So that it cannot be directly accessed by it's URL.
The Panel serves a Jupyter Notebook and is being run through command line.
What I'm trying to achieve is to pass a token in the header of each request to…

Mehmood
- 33
- 1
- 6
1
vote
0 answers
Displaying Hover Information on POINT Data in Pyviz/ hvplot
https://hvplot.pyviz.org/user_guide/Geographic_Data.html
In the Geopandas section you can find two examples displaying Data, but only the second one, with 'Polygon' Geodata intead of 'Points', is presenting all of the extra Information from the…

blubbiblub
- 11
- 3
1
vote
0 answers
hvplot heatmap ordering axis
Question is, can I order the axis of a heatmap in hvplot?
I have the following code:
df['col_1'] = df.col_1.astype(int).astype('category')
df['col_2'] = df.col_1.astype(int)
heatmap = df.hvplot.heatmap('col_1', 'col_2', 'col_3',…

BMichell
- 3,581
- 5
- 23
- 31
1
vote
1 answer
View vs. Viewable with displaying widget
I am putting together an interactive dashboard using the pyviz ecosystem. One feature of the dashboard is that the underlying data may change based on a widget selector. Below is an example code showing the issue I have with getting the time widget…

Rowan_Gaffney
- 452
- 5
- 17