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
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
3
votes
2 answers
Can I control the inline css created by Bokeh (or remove it completely)?
I'm creating a dashboard in PyViz panel, which uses bokeh under the hood as far as I understand. It is easy to use and I quickly get to a 90% solution, but the final layout is easier (for me) to just do with plain old CSS (grid layout or something).…

Tormod Landet
- 86
- 6
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
2
votes
1 answer
How to change the color of subgraph using pyvis?
I want to visualize the graph using pyviz.
I'm working on the code to extract a subgraph from a graph.
import networkx as nx
import numpy as np
import matplotlib.pyplot as plt
def RWS(G, vs, r=0.5, S=4):
#initialize subgraph
Gk =…

port trum
- 131
- 1
- 2
- 10
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
Holoviews Table does not visually preserves index
Here is the code:
import pandas as pd
import holoviews as hv
hv.extension('bokeh','matplotlib','plotly')
mydf = pd.DataFrame({
'x':np.arange(5),
'y':-np.arange(5),
'z':2+3*np.arange(5)
…

THOTH
- 109
- 1
- 12
2
votes
1 answer
IOPub message rate exceeded with HoloViews
I'm trying to animate a Path using the periodic function on DynamicMap but my Jupyter Notebook starts complaining with the following error message:
IOPub message rate exceeded.
The notebook server will temporarily stop sending output
to the client…

rindis
- 869
- 11
- 25
2
votes
1 answer
With pyviz/panel, how do I modify values in panes only when a button is clicked?
I'd like to make a dashboard with pyviz/panel so that it doesn't refresh live as soon as the values of the widgets are changed. Instead, I'd like for it to wait for a button click and only then, change the values in the dashboard accordingly.
A…

zover_cat
- 25
- 3
2
votes
1 answer
Flask + Bokeh in Docker authentication
We're using Flask to route users to Bokeh servers. The system is running inside a Docker image. Everything works well. But now we want to add authentication, which is proving difficult because we don't want to map the bokeh server ports to the…

MetaStack
- 3,266
- 4
- 30
- 67
1
vote
0 answers
pyviz to visualize multiple separate graphs into one and filter by graph
I am generating a graph to visualize the association's rules and using pyviz to get an interactive visualization. Currently, I saved data in one graph but I would like to save different data into separate graphs and represent it all in one network…

rooya sh
- 37
- 7
1
vote
0 answers
networkx and pyviz how to add color to nodes based on dimenison
I'm using networkx and pyviz together. I'm trying to figure out how to change the color of the nodes in pyviz based an attribute in my data frame.
My dataframe looks like this:
I want to show the connections between user_one and user_two but color…

mikelowry
- 1,307
- 4
- 21
- 43
1
vote
1 answer
Visualize a bipartite graph in pyviz
I used networkx to visualize a bipartite graph but the result was unsatisfactory (i.e. nodes, text and edge labels overlapping). Now I am trying to use the pyviz library (https://pyviz.org/). The visual problems are now resolved but I can't find a…

Eshan Jain
- 11
- 2
1
vote
0 answers
Error: Port py27-pygoocanvas not found on MAC bigSur
I wanted to install NS-3 on my macOS, so I followed the documentation but in the end Python-visualizer did not get installed. So for that I tried installing it by following steps here.
>>port install py27-pygtk py27-pygoocanvas py27-pygraphviz
This…

veeramika
- 11
- 1
1
vote
0 answers
holoviz/holoviews/panel: default setting of axes limits of a holomap "layouted" in separate panes
I would like to know what would be the best way to have elements that are part of the same holomap layout but on separate panel panes have their axes limits computed the same way like when the entire layout is rendered.
It is simpler with the…

Pierre Massé
- 693
- 1
- 5
- 23