Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot theme #268

Open
wangjiawen2013 opened this issue Jul 10, 2024 · 3 comments
Open

plot theme #268

wangjiawen2013 opened this issue Jul 10, 2024 · 3 comments

Comments

@wangjiawen2013
Copy link

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
Copy link
Author

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

@melonora
Copy link
Collaborator

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!

@LucaMarconato
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants