How to Solve NameError: name 'molniya' is not defined -- poliastro

Solution: Import the 'molniya' module

# Add the following line to the top of your code
from poliastro.examples import molniya

 

For more information:
poliastro molniya