Skip to content

Commit 3b5fdf0

Browse files
committed
Fix usage of _unmasked
1 parent d4ed99f commit 3b5fdf0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sbpy/dynamics/syndynes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
88
"""
99

10+
from __future__ import annotations
11+
1012
__all__ = [
1113
"SourceOrbit",
1214
"SynGenerator",
@@ -38,7 +40,7 @@
3840

3941
from ..data import Ephem
4042
from ..utils.decorators import requires
41-
from ..utils import unmasked
43+
from ..utils.core import _unmasked
4244
from .models import DynamicalModel, SolarGravityAndRadiationPressure
4345
from .state import StateBase, State
4446

@@ -229,7 +231,7 @@ def plot(
229231
else:
230232
# convert coordinates to plot units with the WCS object (avoid
231233
# passing a masked object, or wcs will complain)
232-
x, y = wcs.world_to_pixel(unmasked(self.coords))
234+
x, y = wcs.world_to_pixel(_unmasked(self.coords))
233235

234236
ax.plot(x, y, **kwargs)
235237

0 commit comments

Comments
 (0)