PhasePlot.
set_ylim
(*args, **kwargs)[source]¶Sets the plot limits for the y bin field.
Parameters: | ymin : float or None
ymax : float or None
|
---|
Examples
>>> import yt
>>> ds = yt.load('IsolatedGalaxy/galaxy0030/galaxy0030')
>>> pp = yt.PhasePlot(ds.all_data(), 'density', 'temperature', 'cell_mass')
>>> pp.set_ylim(1e4, 1e6)
>>> pp.save()