# Need help with the napari.spatialdata Interactive() function

**URL:** https://discourse.scverse.org/t/need-help-with-the-napari-spatialdata-interactive-function/1577
**Category:** spatialdata
**Created:** [July 5, 2023, 3:00pm UTC](https://discourse.scverse.org/t/need-help-with-the-napari-spatialdata-interactive-function/1577 "2023-07-05T15:00:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hutaobo](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/hutaobo/32/675_2.png) [@hutaobo](https://discourse.scverse.org/u/hutaobo)
#### Post date: [July 5, 2023, 3:00pm UTC](https://discourse.scverse.org/t/need-help-with-the-napari-spatialdata-interactive-function/1577/1 "2023-07-05T15:00:42Z")

</div>

Hi spatialdata folks,

I am reproducing the notebook here:  
[https://spatialdata.scverse.org/en/latest/tutorials/notebooks/notebooks/examples/alignment\_using\_landmarks.html](https://spatialdata.scverse.org/en/latest/tutorials/notebooks/notebooks/examples/alignment_using_landmarks.html)

But I am not able to get result from the Interactive() function, it shows the following error:  
TypeError: Interactive. **init** () got an unexpected keyword argument ‘points’

And if I try running: Interactive([visium\_sdata, xenium\_sdata]), still get error:

 ![image (1)](https://canada1.discourse-cdn.com/flex035/uploads/forum11/original/1X/4f67442fea756ec593b8cc4ca2e60d417d96befc.png)

I know it may be some silly mistake from my side, but I am grateful if you can help on this.

---

<div class="post-metadata">

### Author: ![LucaMarconato](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/lucamarconato/32/661_2.png) [@LucaMarconato](https://discourse.scverse.org/u/LucaMarconato)
#### Post date: [July 9, 2023, 6:53pm UTC](https://discourse.scverse.org/t/need-help-with-the-napari-spatialdata-interactive-function/1577/2 "2023-07-09T18:53:18Z")

</div>

Hi Taobo thanks for reporting. This is a residual of us having used `napari-spatialdata` with the `spatialdata` branch instead of the `main` branch when running that notebook. We will fix it. For the time being please just remove the `points` argument. In case of other problems with napari we kindly ask you to report them and we will fix them. For temporary use the `spatialdata` branch is still available (but `main` will work as well).

---

<div class="post-metadata">

### Author: ![JurgenKriel](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/jurgenkriel/32/758_2.png) [@JurgenKriel](https://discourse.scverse.org/u/JurgenKriel)
#### Post date: [August 2, 2023, 4:24am UTC](https://discourse.scverse.org/t/need-help-with-the-napari-spatialdata-interactive-function/1577/3 "2023-08-02T04:24:47Z")

</div>

I’m getting the same error when trying to load two spatialdata objects into napari.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/forum11/original/1X/a2ef3e8d0ac1ce606e49fefc236a47bc402fbf62.png)

Any fix for this yet? Thanks!

---

<div class="post-metadata">

### Author: ![LucaMarconato](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.scverse.org/lucamarconato/32/661_2.png) [@LucaMarconato](https://discourse.scverse.org/u/LucaMarconato)
#### Post date: [August 7, 2023, 8:11pm UTC](https://discourse.scverse.org/t/need-help-with-the-napari-spatialdata-interactive-function/1577/4 "2023-08-07T20:11:44Z")

</div>

Thanks JurgenKriel, we have a fix that is almost ready to merge in this PR: [https://github.com/scverse/napari-spatialdata/pull/136](https://github.com/scverse/napari-spatialdata/pull/136). You can already use it even if it is not merged to main (we are addressing some edge cases before merging, but it is already functioning).
