When hawkeye overview connectors are drawn, the _segments_intersect helper in ultraplot/axes/geo.py calls np.cross(point1 - origin, point2 - origin) on 2-D vectors, which triggers DeprecationWarning: Arrays of 2-dimensional vectors are deprecated. Use arrays of 3-dimensional vectors instead. under NumPy 2.0 (reproducible via ultraplot/tests/test_inset.py). Since NumPy will eventually remove 2-D np.cross support, this will break. It should be fixed by computing the scalar 2-D cross product directly as a[0]*b[1] - a[1]*b[0] instead of relying on np.cross.
When hawkeye overview connectors are drawn, the
_segments_intersecthelper inultraplot/axes/geo.pycallsnp.cross(point1 - origin, point2 - origin)on 2-D vectors, which triggersDeprecationWarning: Arrays of 2-dimensional vectors are deprecated. Use arrays of 3-dimensional vectors instead.under NumPy 2.0 (reproducible viaultraplot/tests/test_inset.py). Since NumPy will eventually remove 2-Dnp.crosssupport, this will break. It should be fixed by computing the scalar 2-D cross product directly asa[0]*b[1] - a[1]*b[0]instead of relying onnp.cross.