-
I'm a new user of galpy, I'm trying to validate some references results of orbits integration. from galpy.potential import (plotRotcurve, MWPotential as mwp, MWPotential2014 as mwp14) plotRotcurve(mwp,Rrange=[0.01,10.],yrange=[0.,1.2],color='r',label='Milk-Way') plotRotcurve(mwp14,Rrange=[0.01,10.],yrange=[0.,1.2],color='c',linestyle='-',label='Milk-Way 2014', overplot=True) plotRotcurve(asi,Rrange=[0.01,10.],yrange=[0.,1.2],color='k',linestyle='-',label='Irrgang', overplot=True) plt.legend() |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Do you mean that the plots just don't show up? You generally have to do something to make
or
EDIT: Full answer in thread below, copied here
|
Beta Was this translation helpful? Give feedback.
Do you mean that the plots just don't show up? You generally have to do something to make
matplotlib
show figures in a notebook, e.g.,or
EDIT: Full answer in thread below, copied here