Skip to content

Commit

Permalink
Merge pull request #4656 from neutrinoceros/unyt_3.0_compat_3
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros authored Sep 1, 2023
2 parents db6862e + 6ffca39 commit 196defa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion yt/frontends/halo_catalog/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from yt.frontends.gadget_fof.io import IOHandlerGadgetFOFHaloHDF5
from yt.funcs import parse_h5_attr
from yt.units.yt_array import uvstack # type: ignore
from yt.units._numpy_wrapper_functions import uvstack
from yt.utilities.io_handler import BaseParticleIOHandler
from yt.utilities.on_demand_imports import _h5py as h5py

Expand Down
2 changes: 1 addition & 1 deletion yt/frontends/ytdata/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from yt.funcs import mylog, parse_h5_attr
from yt.geometry.selection_routines import GridSelector
from yt.units.yt_array import uvstack # type: ignore
from yt.units._numpy_wrapper_functions import uvstack
from yt.utilities.io_handler import BaseIOHandler
from yt.utilities.on_demand_imports import _h5py as h5py

Expand Down
3 changes: 2 additions & 1 deletion yt/visualization/plot_modifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
from yt.geometry.api import Geometry
from yt.geometry.unstructured_mesh_handler import UnstructuredIndex
from yt.units import dimensions
from yt.units.yt_array import YTArray, YTQuantity, uhstack # type: ignore
from yt.units._numpy_wrapper_functions import uhstack
from yt.units.yt_array import YTArray, YTQuantity
from yt.utilities.exceptions import (
YTDataTypeUnsupported,
YTFieldNotFound,
Expand Down

0 comments on commit 196defa

Please sign in to comment.