Migrate to viser viewer (#2515)

* fix jittering in markdown in viewer beta

* Revert "fix jittering in markdown in viewer beta"

This reverts commit 70ade42e46.

* Migrate to viser viewer

* Fix docs

* print correctly formatted url in banner for viewer beta

* add deprecation warnings to viewer_elements.py

* fix export string scientific notation bug, change .5 to 2.0 sec transition time

---------

Co-authored-by: Justin Kerr <justin.g.kerr@gmail.com>
This commit is contained in:
Matthew TancikandJustin Kerr authored and GitHub committed 2024-01-08 11:40:02 -08:00
1 parent ca9e6c1294
commit 451a70c1f3
92 files changed
+133 -124

No files matched your search

+2 -2
View File
@@ -50,11 +50,11 @@ def check_profiler_enabled(func: Callable) -> Callable:
def check_viewer_enabled(func: Callable) -> Callable:
"""Decorator: check if the viewer or beta viewer is enabled and only run on main process"""
"""Decorator: check if the viewer or legacy viewer is enabled and only run on main process"""
def wrapper(self, *args, **kwargs):
ret = None
if (self.config.is_viewer_enabled() or self.config.is_viewer_beta_enabled()) and comms.is_main_process():
if (self.config.is_viewer_enabled() or self.config.is_viewer_legacy_enabled()) and comms.is_main_process():
ret = func(self, *args, **kwargs)
return ret