Questions tagged [hvplot]

Hvplot is a high-level Python visualization library that makes interactive plotting beautiful, easy and intuitive for a wide range of datatypes. It is built on top of HoloViews and is an alternative for the static plotting API provided by pandas and other libraries, with an interactive Bokeh-based plotting API.

Official website: https://hvplot.pyviz.org

181 questions
0
votes
0 answers

Plotting a hvplot.points plot with labels at points

Im trying to plot a map with points, with the points being labeled. I created a dataframe with the coordinates and the respective information i want to plot. Plotting the points works fine, but somehow, when I want to plot the labels next to it,…
Elias
  • 51
  • 8
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
3 answers

How to update automatically a plot from a dataframe that varies with a slider

I am trying to create a dashboard with panel. I have a float slider linked to a function that outputs a dataframe. Which means the dataframe varies with a slider. Then from this dataframe i create a line plot. When i "interact" the slider with the…
0
votes
0 answers

formatting tick labels in grouped violin, box plots

I am struggling to get legible tick labels in a holoviews violin or box plot. Below are what I've tried, with comments describing how each fails to get the job done. I don't understand how to use the documented xtick and/or xformatter options for…
0
votes
1 answer

How to remove empty categories in Bokeh when using hvplot?

I have a plot that has categories and subcategories. I want to plot it such that it is not stacked, but I want categories to not show up when their value is not present. Below you can find sample code and a picture of what I am trying to do. On the…
0
votes
0 answers

Python: Hvplot Dashboard: Getting error AttributeError: 'str' object has no attribute 'owner'

I am creating dashboard, where user can select file from given directory and dashboard will show aggregated summary. Also user can select aggregation based on his needs. I am running command "panel serve .ipynb to execute the notebook. import…
Anku
  • 215
  • 1
  • 11
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

Is there any way to make my dashboard refresh every X second?

Currently I'm using panel and hvplot to make a dashboard in my raspberry pi. I want to make my dashboard refresh regularly. I'll put my code here import pandas as pd import numpy as np import panel as pn import hvplot.pandas import mysql.connector…
0
votes
1 answer

The groupby widget for HvPlot does not work

I have a data frame that is grouped by two columns: "year" and "neighborhood" . I want to be able to sale prices per sq foot and gross rent as line charts and be able to toggle between neighborhoods. At the moment the widget is rendered but as I…
0
votes
0 answers

jupyterlab tab-complete duplicates assignment

When I tab-complete a command, as in the picture below, jupyterlab repeats the thing I am assigning the variable to. Here is the image before tab-complete: and here is what happens. Notice that I end up with x = x = np.arange Has anyone noticed…
kgully
  • 650
  • 7
  • 16
0
votes
0 answers

Mass Spectrometry Data: Creating a Contour Plot with Hvplot

Hello Stack Overflow community, I have a mass spectrometry dataset with the following columns: rt, masses, and intensities. The dataset is quite large, consisting of around 300,000 rows. Here is a sample of the…
0
votes
0 answers

Set the size of a PeriodicDataFrame

I'm using hvPlot and streamz to display real-time data from a Redis cache, in a Panel application. hvPlot is appending the datapoint to the chart, at one point when a limit of some kind of buffer is reached and the data will slide on his own,…
0
votes
1 answer

Use hvplot interactive to render loop in browser, and save as html

I am trying to follow this example notebook, specifically the plotting section where it plots the x,y grid and loops/scrolls through the time dimension. ds.air.interactive.sel(time=pnw.DiscreteSlider).plot() I'm running into two issues. The first…
hm8
  • 1,381
  • 3
  • 21
  • 41
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
0 answers

How to hide widget in hvplot

I am using hvplot + panel. When using hvplot, each plot comes with its related widgets by default. However, for my situation, multiple hvplot share the same widgets and can be combined into sidebar (once configured, it can be hiden). However,…
John
  • 348
  • 3
  • 15