diff --git a/src/poliastro/plotting/gabbard.py b/src/poliastro/plotting/gabbard.py index 80d282b3b..17da60d24 100644 --- a/src/poliastro/plotting/gabbard.py +++ b/src/poliastro/plotting/gabbard.py @@ -5,7 +5,6 @@ class GabbardPlotter: - def __init__(self, ax, dark=False): self._ax = ax @@ -42,7 +41,7 @@ def _static_gabbard_plot(self, orbits): The Orbits whose perigee and apogee will be plotted. """ apogees, perigees, periods = self._get_orbit_property_list(orbits) - + apogee_paths = plt.scatter( periods, apogees, marker="o", color="blue", label="Apogee" ) @@ -70,7 +69,6 @@ def _set_legend(self, epoch): self._ax.legend( loc="upper left", bbox_to_anchor=(1.05, 1.015), - title = label, + title=label, numpoints=1, ) -