You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have started exploring a Visium HD dataset. When Trying to use Napari-spatialdata to visualise the rasterized 2um bins on the full res image I get an error that the interactive.get_layer function doesn't have the attribute 'colormap' when assigning the zero transparent scale. Any solution to this?
f
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have started exploring a Visium HD dataset. When Trying to use Napari-spatialdata to visualise the rasterized 2um bins on the full res image I get an error that the interactive.get_layer function doesn't have the attribute 'colormap' when assigning the zero transparent scale. Any solution to this?
f
AttributeError Traceback (most recent call last)
Cell In[13], line 11
9 interactive = Interactive(sdata, headless=True)
10 interactive.add_element(f"rasterized_002um", "global", view_element_system=True)
---> 11 interactive.get_layer(f"rasterized_002um").colormap = napari_cmap
12 interactive.run()
AttributeError: 'NoneType' object has no attribute 'colormap'
Beta Was this translation helpful? Give feedback.
All reactions