Skip to content

prepare for optional Numpy 1.20 type hinting

Choose a tag to compare

@scivision scivision released this 21 Sep 15:20
56cfad2

Numpy 1.20 adds optional type hinting in the numpy.typing module. ArrayLike is a key type we feel appropriate for PyMap3D. PyMap3D will continue to work without Numpy or older versions of Numpy.

We add optional type hinting using numpy.typing.ArrayLike