pynbody.plot#
Useful plotting routines, using matplotlib to display pynbody’s calculations
Changed in version 2.0: The plotting routines have been simplified and pared back in version 2.0.
Call signatures have been simplified, and keywords such as filename, axes, clear, subplot have been removed. Use the matplotlib functions directly to save the figure or modify the axes.
The metals module has been removed. To plot metallicity-related quantities, use generic functions appropriately. Specific examples of [Fe/H] and [O/Fe] vs [Fe/H] plots have been provided in the quick-start tutorial, under the section Histograms, 2D histograms, and derived arrays.
Modules