Green slice got an empty green frame


When I used Blender 4.4 to update the green image slice transformation matrix, it presents an empty green frame around image slice, is it possible to remove the green frame in 3D Slicer? Thanks a lot!

Got the solution as below,
slice_display_node = sliceLogic.GetSliceDisplayNode()
slice_display_node.SetVisibility2D(False)
slice_display_node.SetSliceIntersectionOpacity(0.0)