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
1
vote
1 answer

How to enable automatic resampling on zoom in datashader with holoviews together with a (live) data stream through a pipe into a DynamicMap?

While I have a data flow through a pipe together with a holoviews.DynamicMap containing a Curve, on which holoviews.operation.datashader.datashade() is applied: when use the zoom tool the view does not resample (as for static data) leading to a very…
BJS
  • 71
  • 3
  • 7
1
vote
1 answer

How can I color nodes of a graph, with datashader?

I want to visualize a graph with datashader (I have a lot of nodes), as in import holoviews as hv import pandas as pd import dask.dataframe as dd from holoviews.operation.datashader import ( datashade, aggregate, dynspread, bundle_graph,…
Davide Fiocco
  • 5,350
  • 5
  • 35
  • 72
1
vote
1 answer

For Looping Subplots with Datashader / Holoviews / Bokeh

The general notation for creating subplots with datashade/holoviews/Bokeh is using a '+' notation: plot = plot1 + plot2 + plot3 However, I'm trying to generate plots inside a for loop like I can with Matplotlib. In Seaborn I can just do this to…
Stigma
  • 331
  • 1
  • 4
  • 15
1
vote
2 answers

Holoviews combined with geoviews.tile_sources causes axis scale error

I'm trying to combine a geoviews.tile_sources layer with a datashade layer. Both layers individually result in the correct axis (see image), but when combined (using *) the scale becomes distorted. import numpy as np import pandas as pd import…
wab
  • 797
  • 6
  • 19
1
vote
1 answer

Datashader: plot with manual RGB colors

I'd like to do something similar to pyplot.scatter using the Datashader module in python, specifying an individual (x,y), RGB\hex value for each point independently: #what i'd like to do, but using Datashader: import numpy as np #make sample…
Rotem Shalev
  • 138
  • 1
  • 13
1
vote
0 answers

Adding hover tool to datashader interactive image

I want to perform datashading on a plot created in bokeh. I encountered with this python notebook. But I want to know can I add hovertool to resultant image after datashading. If yes then how can I add tools like hovertool,taptool to the…
Cracken
  • 306
  • 2
  • 5
  • 17
1
vote
1 answer

How to host a Datashader-Bokeh Interactive Map as a web application?

I have recently created an interactive Datashader-Bokeh Interactive Map that looks like this NYC Taxi Example on a Jupyter Notebook. The dynamic aggregation works beautifully when I run the code locally on my mac. My question is, is the current…
Atlas7
  • 2,726
  • 4
  • 27
  • 36
1
vote
1 answer

Using holoviews renderer with datashader in a script

I’m trying to use HoloViews + Datashaeder as part of a python script instead of exclusively in notebooks. I can create the plot and view it in a notebook but when I follow the example from the FAQ for rendering without the notebook, I receive…
laurennc
  • 13
  • 7
1
vote
3 answers

bokeh - plotting shapefile map using datashader

Initially, I created an interactive map of the UK Postcode area where an individual area is color represented based on its value (e.g. population in that post code area) as following. from bokeh.plotting import figure from bokeh.palettes import…
user4279562
  • 669
  • 12
  • 25
1
vote
1 answer

Map background with datashader - "Map data not yet available"

I'm trying to overlay interactive datashader plot on top of map and I only getting "Map data not yet available" background instead of map background. I have tried different map services and different maps but none of them worked. Here is the code I…
Paul J.
  • 13
  • 1
  • 3
1
vote
0 answers

Graphing for huge datasets on python/flask angularjs

I have a mongo collection with ~20 millions documents and for each document a timestamp will be obtain from ObjectID(_id) and around 10 other values. In each document is a identifier key that is used to later group them, I have ~200 unique…
Arkon-v
  • 126
  • 1
  • 8
1
vote
0 answers

Error while importing datashader

Code: import datashader as ds Error: self._handle = _dlopen(self._name, mode) OSError: [WinError 126] The specified module could not be found Detailed Error: Traceback (most recent call last): File…
Adarsh
  • 11
  • 2
0
votes
0 answers

Bokeh - holoviews - datashader: Curve with streamed data does not update x an y limits when new data are sent

I made a plot with a simple cuvre that is shaded with datashade and ploted using bokeh and holoviews. I use streams with Buffer to update my data quickly without redrawing the full figure. The problem: when I push new data, the x and y limits does…
Cunningham
  • 178
  • 2
  • 10
0
votes
0 answers

1D scatter plot colored by density

I was wondering whether it was possible to use mpl-scatter-density or datashader to create a 1D scatter plot colored by density as it is shown here for the 2D case. It can be done with gaussian_kde, but it is quite slow when the number of points…
0
votes
0 answers

Interactive use of Datashader with matplotlib, 1.8 billion point array

I am working with geophysical data so now I have a 400k*512 "pixel" dataset that basically is "scans" times "samples". The data exists as np array of the dimension mentioned above. I need to visualize it interactively with zoom and all. I found…
1 2 3
8 9