See https://github.com/astropy/astropy/pull/19584/changes#diff-520a9003384d97edc90dd683a108f34bad93a22217313db10b19715f589a0e2aR1087
There is a not NUMPY_LT_2_5 there that ensures that any deprecation error raised within a matplotlib call gets ignored. It should be based on a matplotlib version that supports numpy >= 2.5.
See https://github.com/astropy/astropy/pull/19584/changes#diff-520a9003384d97edc90dd683a108f34bad93a22217313db10b19715f589a0e2aR1087
There is a
not NUMPY_LT_2_5there that ensures that any deprecation error raised within a matplotlib call gets ignored. It should be based on a matplotlib version that supports numpy >= 2.5.