I use `nilearn.plotting.plot_anat`

to plot my structural T1-weighted images. If one does not provide the function with `cut_coords`

they will be calculated automatically:

cut_coordsNone, a tuple of floats, or an integerThe MNI coordinates of the point where the cut is performed If display_mode is ‘ortho’ or ‘tiled’, this should be a 3-tuple: (x, y, z) For display_mode == ‘x’, ‘y’, or ‘z’, then these are the coordinates of each cut in the corresponding direction. If None is given, the cuts is calculated automaticaly. If display_mode is ‘x’, ‘y’ or ‘z’, cut_coords can be an integer, in which case it specifies the number of cuts to perform

However, I can’t find any documentation on how specifically this is done internally?