Questions tagged [datashader]

Use for questions concerning the Python based Graphics Pipeline which is meant for building visualizations of large data sets.

Datashader is a python graphics pipeline system for creating meaningful representations of large amounts of data.

FAQ

Docs

GitHub

123 questions
3
votes
1 answer

Geoviews + Datashader is slow when projecting points

I'm plotting 550,000,000 latitudes and longitudes using datashader. But, for this to be useful, I need to overlay map tiles and polygons using geoviews. The problem is that geoviews.points() and associated projection results in a large slowdown that…
wab
  • 797
  • 6
  • 19
3
votes
0 answers

Holoviews throwing XArrayInterface error with datashader and bokeh server

Upgraded to version 1.9.2 of Holoviews and now I'm getting the following error: DataError: None of the available storage backends were able to support the supplied data format. XArrayInterface raised following error: cannot create a Dataset…
Martin Garcia
  • 345
  • 5
  • 14
3
votes
1 answer

Bokeh Geoviews use Lat/Long or UTM?

I am trying to plot the Zillow dataset with Bokeh using Geoviews and Datashader but I am having the damnedest time getting it to work. I am able to plot the data on a Cartesian plane fine but when I attempt to overlay the data with a map I run into…
Matt Camp
  • 1,448
  • 3
  • 17
  • 38
3
votes
1 answer

Coloring points and selecting aggregation method for Datashader in HoloViews

My goal here is to create x,y,z scatterplots in HoloViews, where the plots are produced with Datashader, with the points aggregated by minimizing over 'z', and with the points colored according to 'z'. Ultimately this is for doing things like…
Ben Farmer
  • 2,387
  • 1
  • 25
  • 44
2
votes
1 answer

hvplot taking hours to render image

I'm working with Gaia astrometric data from the data release 3 and saw hvplot/datashader as the go-to for visualizing large data due to very fast render times and interactivity. In every example I'm seeing, it's taking a few seconds to render an…
Rukonian
  • 21
  • 3
2
votes
1 answer

How to tell datashader to use gray color for NA values when plotting categorical data

I have very large dataset that I cannot plot directly using holoviews. I want to make a scatterplot with categorial data. Unfortunately my data is very sparse and many points have NA as category. I would like to make these points gray. Is there any…
Noskario
  • 378
  • 1
  • 9
2
votes
1 answer

Problems with memory and Dask distributed: multiple times the size of the data loading into memory and data spill not happening

I'm running some simple tests with Dask distributed and Datashader but I'm running into two problems that I haven't been able to solve neither understand why it happens. The data I’m working with consists of 1.7 billion rows with 97 columns each,…
vertebra
  • 31
  • 3
2
votes
1 answer

How to resize of bins/pixels when zooming

I am currently trying to project a dataset (Berlin public transport spots) on to map tiles with the help of datashader and bokeh. To certain extents it worked nicely, while three problems remain: when zooming into the data, the pixels remain rather…
Nikolaij
  • 321
  • 1
  • 2
  • 8
2
votes
2 answers

how to create interactive graph on a large data set?

I am trying to create an interactive graph using holoviews on a large data set. Below is a sample of the data file called trackData.cvs Event Time ID Venue Javeline 11:25:21:012345 JVL Dome Shot pot …
sparrow
  • 450
  • 5
  • 13
2
votes
2 answers

Colorbar for datashader aggregation in plotly

How can I plot a colorbar when plotting data from in datashader. I'm using vehicle data with position and heading (0-360*) Minimal Datashader code: import seaborn as sns, datashader as ds from matplotlib.cm import ListedColormap cmap =…
Eden Trainor
  • 571
  • 5
  • 17
2
votes
1 answer

When using rasterize=True with datashader, how do I get transparency where count=0 to see the underlying tile?

Currently, when I do this: import pandas as pd import hvplot.pandas df = pd.util.testing.makeDataFrame() plot = df.hvplot.points('A', 'B', tiles=True, rasterize=True, geo=True, aggregator='count') I can't see the underlying…
Andrew
  • 507
  • 5
  • 16
2
votes
1 answer

How to keep or set width and height of my holoviews plot when using datashade?

I'm trying to create a plot with multiple categories, and have a plot for every category. Since there are so many datapoints, I'm using datashade. But datashade ignores the width and height that I set for those plots. How can I keep the width and…
Sander van den Oord
  • 10,986
  • 5
  • 51
  • 96
2
votes
1 answer

Why can't I plot this dask dataframe with datashader (not enough values to unpack)?

I'd like to plot a large-ish graph with datashader + holoviews, but I am getting an error. Something small and reproducible is: import holoviews as hv import pandas as pd import dask.dataframe as dd from holoviews.operation.datashader import ( …
Davide Fiocco
  • 5,350
  • 5
  • 35
  • 72
2
votes
1 answer

How to do ylim plot Limits with Holoviews Bokeh Datashader

How do I add y-limits (ylim) to a plot created using Holoviews Datashader? I have tried the hv.Dimension function and also adding ylim=() parameters but it would either be the Holoview that rejects it or the Datashader function that doesn't…
Stigma
  • 331
  • 1
  • 4
  • 15
2
votes
0 answers

Python downgrade after conda install 'package' not showing up in python --version

I've been trying to install a particular package - datashader . Steps followed - > python -m venv dashshader #my spelling mistake wrote data->dash > cd dashshader > Scripts\activate.bat (dashshader) > conda install datashader # list of packages…
pyeR_biz
  • 986
  • 12
  • 36
1
2
3
8 9