# Datashader rendering after hv.Overlay update

**URL:** <https://discourse.holoviz.org/t/datashader-rendering-after-hv-overlay-update/1824>\
**Category:** Datashader\
**Tags:** bokeh, panel, holoviews\
**Created:** [February 5, 2021, 11:12pm UTC](https://discourse.holoviz.org/t/datashader-rendering-after-hv-overlay-update/1824 "2021-02-05T23:12:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fmfreeze](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/fmfreeze/32/1704_2.png) [@fmfreeze](https://discourse.holoviz.org/u/fmfreeze)\
**Post date:** [February 5, 2021, 11:12pm UTC](https://discourse.holoviz.org/t/datashader-rendering-after-hv-overlay-update/1824/1 "2021-02-05T23:12:11Z")

</div>

What is that rendering issue?

 ![Datashader_Issue](https://discourse.holoviz.org/uploads/default/original/2X/6/64e135ba9353e48c07af39277074a0230c23ced8.jpeg)

The setup is not super easy, so I thought maybe a gif tells more than 100 minimal example code lines and is a good starting point for discussion, as this problem might be known already:

 ![Datashader_Issue2](https://discourse.holoviz.org/uploads/default/original/2X/1/194e12c03f2fbae2121973e935d9b18ae3bea24e.gif)

Does anybody know how to fix that e.g. by making a 1px pan programmatically?

Some basic conditions:  
A RangeXY stream with a subscribed function and and a RangeLinkTool are working together on some partly datashaded plots. A linked Histogram might also play a role, but is not on the gif.

If a minimal code example is necessary, I’ll try to uncover the borders of “minimal”.

---

<div class="post-metadata">

**Author:** ![jbednar](https://discourse.holoviz.org/user_avatar/discourse.holoviz.org/jbednar/32/23_2.png) [@jbednar](https://discourse.holoviz.org/u/jbednar)\
**Post date:** [February 9, 2021, 10:29pm UTC](https://discourse.holoviz.org/t/datashader-rendering-after-hv-overlay-update/1824/2 "2021-02-09T22:29:25Z")

</div>

It looks like something bad is happening here, but I can’t quite follow what the code is meant to do. If you can make the code reproducible and as simple as is practical, and if you state precisely what it does and what you wanted it to do, someone can probably tell what’s going on.

---

<div class="post-metadata">

**Author:** ![okz](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/o/d26b3c/32.png) [@okz](https://discourse.holoviz.org/u/okz)\
**Post date:** [February 18, 2021, 11:32am UTC](https://discourse.holoviz.org/t/datashader-rendering-after-hv-overlay-update/1824/3 "2021-02-18T11:32:38Z")

</div>

This issue does have few similarities (broken overlay, fixed after user interaction) with the minimum example I just raised:

> [@Missing datashade on overlay, till redraw?](https://discourse.holoviz.org/t/missing-datashade-on-overlay-till-redraw/1872):
>
> Had problems displaying datashaded ‘flat’ scatter plots, after overlaying with other data, in one go. In the below minimum example, if the next cell displays dscurve all cells show the correct data. But by itself, dscurve \* line , dscurve is ignored in the figure, till the user interacts with the figure controls, or forces another ‘visual’ notebook interaction on dscurve, i.e: displaying it alone in another cell. Maybe the overlay operation is changing the “interpolation” range of ‘dscurve…
