roundtrip_abbreviation_threshold#
- treescope.roundtrip_abbreviation_threshold: context.ContextualValue[int | None]#
Depth threshold for abbreviating large outputs in roundtrip mode.
This value sets the depth at which values should be abbreviated (replaced by … markers) when their parents are collapsed. Threshold 1 means that children of a collapsed node should be abbreviated. Threshold 2 means that grandchildren of a collapsed node should be abbreviated. Threshold None means that no abbreviation should be performed.
Note that if abbreviation is enabled in roundtrip mode, outputs may not be fully roundtrippable due to the abbreviated children.