Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Commit

Permalink
Add error for old OrbitPlotter
Browse files Browse the repository at this point in the history
  • Loading branch information
astrojuanlu committed Jan 7, 2019
1 parent fe8b0ea commit 92344a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/poliastro/plotting/__init__.py
@@ -1 +1,2 @@
from .core import OrbitPlotter2D, OrbitPlotter3D
from .static import OrbitPlotter
11 changes: 11 additions & 0 deletions src/poliastro/plotting/static.py
Expand Up @@ -13,6 +13,17 @@
from ._base import Trajectory


class OrbitPlotter:
def __init__(self, *args, **kwargs):
raise NotImplementedError(
"""This class was renamed. Please do
>>> from poliastro.plotting.static import StaticOrbitPlotter
instead."""
)


class StaticOrbitPlotter:
"""StaticOrbitPlotter class.
Expand Down

0 comments on commit 92344a1

Please sign in to comment.