abbreviation_threshold

abbreviation_threshold#

treescope.abbreviation_threshold: context.ContextualValue[int | None]#

Depth threshold for abbreviating large outputs in normal 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.