Skip to content

Add support for user supplied style sheets #2

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

Closed
Tracked by #70
dstansby opened this issue Apr 30, 2022 · 1 comment · Fixed by #181
Closed
Tracked by #70

Add support for user supplied style sheets #2

dstansby opened this issue Apr 30, 2022 · 1 comment · Fixed by #181
Assignees
Labels
New feature New feature or request
Milestone

Comments

@dstansby
Copy link
Member

There should be an option for users to supply their own Matplotlib style sheets. I think the best way to do this would be to have a configuration directory that users can drop a default style sheet into, or edit the default one.

@dstansby dstansby added the New feature New feature or request label Apr 30, 2022
@dstansby dstansby added this to the 0.3.0 milestone May 18, 2023
samcunliffe added a commit to samcunliffe/napari-matplotlib that referenced this issue Jun 8, 2023
Follows on from matplotlib#2 and matplotlib#86. We can remove the hard-coded theme setup and
move to using matplotlib stylesheets (napari-dark.mplstyle and
napari-light.mplstyle) instead. The caveat is that this means the plugin
is _less_ flexible when presented with a weird and wonderful user theme.
@dstansby dstansby moved this from Todo to In Progress in napari-matplotlib plugin accelerator Jun 13, 2023
@dstansby
Copy link
Member Author

I've asked at https://discourse.matplotlib.org/t/using-mpl-config-dir-for-3rd-party-config-files/23890 if there's any reason we can't use the Matplotlib config directory for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New feature New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants