question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Datashaded scatter plots are not rerendered when linked

See original GitHub issue

This seems to be a regression because it works in 1.13.4.

linked_datashader

Using 1.14.0, the datashaded scatterplot works fine as long as it is used on its own:

map_plot = df.hvplot.scatter(x='x', y='y', datashade=True, height=300, width=400) 

but when it is linked with another plot:

hist_plot = df.where((df.SOG>0) & (df.SOG<50)).hvplot.hist("SOG",  bins=20, width=400, height=200) 
linked_plots = link_selections(map_plot + hist_plot)

the plot is not updated when the user zooms or filters:

linked_datashader_bug

https://github.com/anitagraser/movingpandas-examples/blob/5490b46c74fbbabb2d64c52c27bce6bbb6cca65d/tech-demos/linked-brushing.ipynb

May be related to: https://github.com/holoviz/holoviews/issues/4698

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
philippjfrcommented, Dec 15, 2020

Yep, just tested, fixed after merging that PR.

1reaction
jbednarcommented, Dec 14, 2020

Thanks for the data file. I can replicate this issue using HoloViews master.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plotting Pitfalls — Datashader v0.14.3
It's thus a problem not just for scatterplots, as here, but for curve plots, 3D surface plots, 3D bar graphs, and any other...
Read more >
How to tell datashader to use gray color for NA values when ...
I have very large dataset that I cannot plot directly using holoviews. I want to make a scatterplot with categorial data. Unfortunately my...
Read more >
How to create fast and accurate scatter plots with lots of data ...
Scatter plot created with datashader. Runtime incl. saving: 0.69s. Image by author. Dots can no longer partially overlap, and since you're ...
Read more >
Introducing Dash HoloViews - Plotly - Medium
Mapping support​​ The datashaded scatter plot automatically resamples in response to zoom and pan events, and selections on both plots are linked ......
Read more >
Working with large data using datashader — HoloViews v1.15.3
Note that even though the visualization above is not computationally expensive, even with just 1000 points as in the scatterplot above, the plot...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found