napari-spatialdata icon indicating copy to clipboard operation
napari-spatialdata copied to clipboard

plot theme

Open wangjiawen2013 opened this issue 1 year ago • 3 comments

Hi, I'm learning to use napari-spatialdata v0.5.0post1 (https://spatialdata.scverse.org/projects/napari/en/latest/notebooks/spatialdata.html). But I find that the plot theme is different from that in the tutorial. This is from the tutorial: image

And this is my theme: image The theme used by the tutorial is very good. How to change the plot theme and adjust the size of the scatter ?

wangjiawen2013 avatar Jul 10 '24 07:07 wangjiawen2013

Besides, the the "Export" button don't response when clicking it and the new obs vale "16_labels_LASSO_SELECTED" cannot be created.

wangjiawen2013 avatar Jul 10 '24 07:07 wangjiawen2013

Hey @wangjiawen2013, sorry about that. The tutorial was using an example from a development branch that ultimately diverged too much from the main branch. We are actively working on bringing that back and improving the performance of this widget. In fact I have a scheduled call for a paired coding session tomorrow on that with a collaborator also to improve the general utility of this widget.

In the meantime I will have a look into your issue. Thanks for reporting!

melonora avatar Jul 10 '24 08:07 melonora

Thanks @melonora for the answer.

@wangjiawen2013 I would try to call

import matplotlib.pyplot as plt
plt.style.use('dark_background')

before calling napari-spatialdata. This may fixed the issue. If not, the new version being developed will probably fix the issue, hopefully it will be released soon.

LucaMarconato avatar Jul 10 '24 18:07 LucaMarconato