Questions tagged [holoviz]

More info at: http://holoviz.org/

108 questions
0
votes
0 answers

How to set the colormap range in hvplot.rgb?

In matplotlib one can anchor the upper/lower values of the colormap like: import rioxarray import xarray as xr import hvplot.xarray import matplotlib.pyplot as plt da = xr.open_dataset( …
sir_olf
  • 11
  • 4
0
votes
0 answers

Plotting on the values of CheckBoxGroup that depends on other widgets' values in holoviz panel

I have the following function to generate a CheckBoxGroup widget. This function depends on some other values from other widgets, and use these values to extrack the list of values to display with CheckBoxGroup: @pn.depends(schoolSelected,…
renakre
  • 8,001
  • 5
  • 46
  • 99
0
votes
0 answers

Issue with plotting multiple gv.Points in geoviews

I am plotting multiple different pandas dataframe datasets in geoviews. One dataset I want a different marker shape, two of them I want with different color outlines and one remains plotted as is. When I plot each of these separately the plots work…
Wx_Trader
  • 77
  • 7
0
votes
0 answers

How do I add loading indicator to a holoviz panel which is displayed while some computation is done?

I am working on a project which uses the holoviz panel for display. The panel has a button which does some heavy computation on click and displays result after a few seconds. How do I modify the code such that I get a loading indicator(spinner)…
argcv
  • 39
  • 6
0
votes
1 answer

Plotting 3D plots with intersecting planes using `hvplot`

I was wondering if there’s any way to make plots like these using hvplot. The reason is that all my data is in NetCDF and I end up using xarray a lot for it, so having a way to reproduce those plots (where two structures intersect in 3D space) using…
TomCho
  • 3,204
  • 6
  • 32
  • 83
0
votes
1 answer

Linking / callbacks not working in Holoviz / Panel dashboards

Linking doesn't appear to be working. I create a dashboard or linked widget (code samples below) and I change a value in a drop down and nothing appears to happen. I'm expecting the "linked code" to be called but instead, nothing appears to happen…
will
  • 3,975
  • 6
  • 33
  • 48
0
votes
1 answer

Holoviz Polygon orientation settings

I am using holoviews+bokeh, and I would like to encircle my scatter plot data with a measure of standard deviation. Unfortunately I can't seem to get the orientation setting right. I am confused by the available descriptions: Orientation in the…
F_B
  • 1
  • 1
0
votes
0 answers

panel/holoviz dynamically update a section of the template

This is my first project with panel. I can't display a new element in the main of my template. En effet j'essai d'afficher un graph lorsque je clique sur un button. my code python import numpy as np import pandas as pd from matplotlib.figure import…
0
votes
0 answers

How to design an interactive dashboard with header and sidebar using panel library

I am fairly new to using panel, and my requirement is to design a dashboard where there is a header and a side bar which will house a HOME button and Additional Functionalities. The documentation helped me a fair bit, but there are still some…
nikhil int
  • 181
  • 2
  • 14
0
votes
1 answer

No module named "panel. pane'; 'panel' is not a package

Panel and other holoviz package was working fine. But since yesterday, it is not working and gives following error. I checked the site packages, tried creating cond and venv based virtual environments, but dint help me. Has anyone faced similar…
ambr
  • 11
0
votes
0 answers

KeyError: "View model name 'panel.models.tabulator.DataTabulator' not found"

I'm trying to run a code that is a combination of flask and bokeh, however, I get the following error: KeyError: "View model name 'panel.models.tabulator.DataTabulator' not found" The code snippet: from bokeh.client import pull_session from…
Benyamin Jafari
  • 27,880
  • 26
  • 135
  • 150
0
votes
1 answer

Holoviews - how to set legend click_policy for decimated points

I'm trying to set click_policy to 'hide' in legend_opts for the object resulted from applying holoviews.operation.decimate on a set of hv.Points, but it doesn't seem to have the desired effect. Now I'm using the muted_alpha option on the underlying…
bbudescu
  • 313
  • 1
  • 3
  • 9
0
votes
1 answer

Position of y-axis on the right side Python panel (holoviz)

how can I change the position of the y-axis labels to the right side? The standard is of course on the left side, but I want to have it on the right side. I can’t find anything in the holoviz panel documentation to it. I tried to derive it from the…
0
votes
1 answer

Holoviews/Datashaded map overlay not displaying

I am using the code below to get a Panel dashboard with a dropdown select box, a histogram and a map. import pandas as pd import holoviews as hv from holoviews.operation.datashader import datashade, rasterize, shade import panel as pn from…
Ananth
  • 101
  • 9
0
votes
0 answers

HoloViews Dataset transform to QuadMesh

Case description I have a set of spectral maps (intensity dependent on time and frequency) for a set of detectors which can be fit into a 3D array BlockDataset of size M x N x K (here: M = number of frequencies, N number of time steps and K is the…
Nox
  • 324
  • 3
  • 18