yt.units.unit_object.Unit.xreplace
==================================

.. currentmodule:: yt.units.unit_object

.. automethod:: Unit.xreplace