Skip to content

__axes_batch__

builtin · libnexusinterp/corefcn/graphics-proprietary.cc

: __axes_batch__ (ax, on)

Internal helper for functions that create many children of one axes.

__axes_batch__ (ax, true) stops the axes from recomputing its limits and layout each time a child is added; __axes_batch__ (ax, false) ends the batch and, when children were added in it, brings the limits and layout up to date once. Calls nest. A call that cannot finish its batch must end it in an unwind_protect_cleanup block.