forked from spacetelescope/jdaviz
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: custom styles work in solara server (spacetelescope#2658)
In spacetelescope#2580 we fixed support for custom style in combination with ipypopout. However, this uses a global widget, which does not work with solara, since multiple virtual kernels would then share the same widget. This is using a singleton decorator that make sure each virtual kernel will create only 1 StyleRegistry widget.
- Loading branch information
1 parent
bf46c9b
commit 59aeab0
Showing
2 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters