yt.data_objects.profiles.Profile3D.set_z_unit

Profile3D.set_z_unit(new_unit)[source]

Sets a new unit for the z field

Parameters:

new_unit : string or Unit object

The name of the new unit.