|
45 | 45 | import warnings |
46 | 46 | from abc import ABC, abstractmethod |
47 | 47 | from collections.abc import Iterable |
48 | | -from functools import singledispatchmethod, cached_property, reduce, wraps |
| 48 | +from functools import singledispatchmethod, reduce, wraps |
49 | 49 | from itertools import pairwise |
50 | | -from numbers import Real, Number |
| 50 | +from numbers import Number |
51 | 51 | from pathlib import Path |
52 | 52 | from typing import Optional, ClassVar, Callable |
53 | 53 |
|
|
57 | 57 | from psi_io import read_hdf_by_index |
58 | 58 | from scipy.interpolate import RegularGridInterpolator |
59 | 59 |
|
| 60 | +from pyvisual.core._typing import SurfaceReconstructionType, MeshFramesType |
60 | 61 | from pyvisual.core.constants import FRAME_SCALES, FRAME_ALIASES |
61 | 62 | from pyvisual.core.parsers import parse_grid_mesh, parse_data, generate_transforms, fetch_canonical_frame, _normalize_frame, apply_mesh_transform |
62 | | -from pyvisual.core._typing import SurfaceReconstructionType, MeshFramesType |
63 | 63 | from pyvisual.utils.geometry import moveaxis_to_start, ij_meshgrid, spherical_to_cartesian, cartesian_to_spherical |
64 | 64 | from pyvisual.utils.helpers import atleast_1dnull |
65 | 65 |
|
@@ -853,7 +853,7 @@ def _binary_op(self, other, ufunc, swap: bool = False): |
853 | 853 | :attr:`data` is used; otherwise it is used directly (scalar or array |
854 | 854 | broadcast). |
855 | 855 | ufunc : numpy.ufunc |
856 | | - Binary ufunc to apply (e.g. :func:`numpy.add`). |
| 856 | + Binary ufunc to apply (e.g. :obj:`numpy.add`). |
857 | 857 | swap : bool, optional |
858 | 858 | When ``True``, swap the operand order to support reflected operations |
859 | 859 | (e.g. ``other - self``). Default is ``False``. |
|
0 commit comments