From ddd32a0a8aadf516eed9d5b8abd59900a73948d2 Mon Sep 17 00:00:00 2001 From: majinge Date: Tue, 11 Feb 2025 09:28:38 +0800 Subject: [PATCH] maint[web]: change plot_3d iframe url to prod --- CHANGELOG.md | 1 + tidy3d/components/viz.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a6bee74bc6..d8c5a0ca35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The coordinate of snapping points in `GridSpec` can take value `None`, so that mesh can be selectively snapped only along certain dimensions. - Grid snapping for `MeshOverrideStructure` with `shadow=False` is only on if the structure refines the mesh. - Renamed `SkinDepthFitterParam` --> `SurfaceImpedanceFitterParam` used in `LossyMetalMedium`. `plot` in `LossyMetalMedium` now plots complex-valued surface impedance. +- Changed plot_3d iframe url to tidy3d production environment. ### Fixed - Make gauge selection for non-converged modes more robust. diff --git a/tidy3d/components/viz.py b/tidy3d/components/viz.py index 2724010b91..ff3865a017 100644 --- a/tidy3d/components/viz.py +++ b/tidy3d/components/viz.py @@ -335,7 +335,7 @@ def plot_sim_3d(sim, width=800, height=800) -> None: (function() { const TARGET_CLASS = "simulation-viewer"; const ACTIVE_CLASS = "simulation-viewer-active"; - const VIEWER_URL = "https://feature-simulation-viewer.d3a9gfg7glllfq.amplifyapp.com/simulation-viewer"; + const VIEWER_URL = "https://tidy3d.simulation.cloud/simulation-viewer"; class SimulationViewerInjector { constructor() {