How to Solve NameError: name 'OrbitPlotter2D' is not defined -- poliastro
Solution: Import the 'OrbitPlotter2D' module
# Add the following line to the top of your code
from poliastro.plotting import OrbitPlotter2D
For more information:
poliastro OrbitPlotter2D