Skip to content

Commit 918066c

Browse files
committed
plates: import Varf from datatypes
1 parent 5ffbb20 commit 918066c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/stagpy/plates.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
from matplotlib import colors
1212
from scipy.signal import argrelmax, argrelmin
1313

14-
from . import _helpers, error, field, phyvars
14+
from . import _helpers, error, field
1515
from ._helpers import saveplot
1616
from .config import Config
17-
from .datatypes import Field
17+
from .datatypes import Field, Varf
1818
from .stagyydata import _sdat_from_conf
1919

2020
if typing.TYPE_CHECKING:
@@ -179,7 +179,7 @@ def _surf_diag(snap: Step, name: str) -> Field:
179179
dvphi = np.diff(vphi) / (
180180
snap.geom.r_centers[isurf] * np.diff(snap.geom.p_walls)
181181
)
182-
return Field(dvphi, phyvars.Varf(r"$dv_\phi/rd\phi$", "1/s"))
182+
return Field(dvphi, Varf(r"$dv_\phi/rd\phi$", "1/s"))
183183
raise error.UnknownVarError(name)
184184

185185

0 commit comments

Comments
 (0)