yt.units.unit_object.Unit.limit

Unit.limit(x, xlim, dir='+')

Compute limit x->xlim.