refactor(nav): rename plan() to plot_course()

This commit is contained in:
Cmdr. Nova 2026-10-08 19:56:00 +02:00
commit a14a63dca3

2
nav.py
View file

@ -88,7 +88,7 @@ def legs(route: list[str]) -> Iterator[tuple[str, str]]:
yield route[i], route[i + 1]
def plan(destination: str) -> tuple[list[str], float, float, float]:
def plot_course(destination: str) -> tuple[list[str], float, float, float]:
"""Return route, distance, travel time (days) and fuel (t)."""
route = ROUTES[destination]
total = 0.0