Source

yt.geometry_tests / profile.py

Full commit
1
2
3
4
5
6
from yt.mods import *

pf = load("DD0039/output_0039")
pc = PlotCollection(pf, 'c')
pc.add_profile_sphere(1.0, 'kpc', ["Density", "Temperature"])
pc.save()