axis_name_map should be a dictionary which maps each axis name in self._axes to its new name. E.g. {'dim0':'dim1', 'dim1':'dim0'}.
cf.PartitionMatrix.add_partitions
cf.PartitionMatrix.copy
Enter search terms or a module, class or function name.