📜  yt-project annotate_scale - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:42.655000             🧑  作者: Mango

代码示例1
import yt
ds = yt.load("IsolatedGalaxy/galaxy0030/galaxy0030")
p = yt.SlicePlot(ds, 'z', 'density', center='c', width=(20, 'kpc'))
p.annotate_scale()
p.save()