ProfilePlot.
set_xlim
(*args, **kwargs)[source]¶Sets the limits of the bin field
Parameters: | xmin : float or None
xmax : float or None
|
---|
Examples
>>> import yt
>>> ds = yt.load('IsolatedGalaxy/galaxy0030/galaxy0030')
>>> pp = yt.ProfilePlot(ds.all_data(), 'density', 'temperature')
>>> pp.set_xlim(1e-29, 1e-24)
>>> pp.save()