Skip to content

Commit c0feec7

Browse files
Update Scene trait class
1 parent 8fa52f2 commit c0feec7

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

src/ipyniivue/traits.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -410,13 +410,10 @@ def scene_data(self):
410410
"azimuth": self.render_azimuth,
411411
"elevation": self.render_elevation,
412412
"crosshair_pos": self.crosshair_pos,
413-
"clip_plane": self.clip_plane,
414-
"clip_plane_depth_azi_elev": self.clip_plane_depth_azi_elev,
413+
"clip_planes": self.clip_planes,
414+
"clip_plane_depth_azi_elevs": self.clip_plane_depth_azi_elevs,
415415
"vol_scale_multiplier": self.vol_scale_multiplier,
416416
"pan2d_xyzmm": self.pan2d_xyzmm,
417-
"clip_thick": self.clip_thick,
418-
"clip_volume_low": self.clip_volume_low,
419-
"clip_volume_high": self.clip_volume_high,
420417
}
421418
return data
422419

@@ -425,13 +422,10 @@ def scene_data(self):
425422
"render_elevation",
426423
"vol_scale_multiplier",
427424
"crosshair_pos",
428-
"clip_plane",
429-
"clip_plane_depth_azi_elev",
425+
"clip_planes",
426+
"clip_plane_depth_azi_elevs",
430427
"pan2d_xyzmm",
431428
"gamma",
432-
"clip_thick",
433-
"clip_volume_low",
434-
"clip_volume_high",
435429
)
436430

437431
@t.observe(*_OBSERVED_TRAITS)

0 commit comments

Comments
 (0)