GridIndex.
lock_grids_to_parents
()[source]¶This function locks grid edges to their parents.
This is useful in cases where the grid structure may be somewhat irregular, or where setting the left and right edges is a lossy process. It is designed to correct situations where left/right edges may be set slightly incorrectly, resulting in discontinuities in images and the like.