Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/faq
2 changes: 1 addition & 1 deletion docs/notebooks
Submodule notebooks updated 126 files
6 changes: 5 additions & 1 deletion tidy3d/components/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,11 @@ def _pcolormesh_shape_doping_box(
if not data_is_2d:
selector = {"xyz"[normal_axis_ind]: normal_position}
data_2D = doping.sel(**selector)
contrib = data_2D.interp(**struct_coords, method="nearest")
contrib = data_2D.interp(
**struct_coords,
method="nearest",
kwargs={"bounds_error": False, "fill_value": 0},
)
struct_doping[n] = struct_doping[n] + contrib
# Handle doping boxes
if isinstance(doping, tuple):
Expand Down
Loading