yt.data_objects.derived_quantities.CenterOfMass.partition_index_2d

CenterOfMass.partition_index_2d(axis)