FutureWarning from obspy/signal/headers.py

I am running ObsPy 1.1.1 with Python 3.7.3 on a Raspberry Pi 4.
( Linux rp49 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 )

When I run my code, it works as intended, but when I filter a trace, like
tr.filter('lowpass', freq=2.0, corners=2, zerophase=True)

I always see the below warning message. Is my syntax wrong?

/usr/lib/python3/dist-packages/obspy/signal/headers.py:93: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'. ], align=True)

This seems to be a Numpy message, although I did not explicitly import that library, so I suppose ObsPy is loading it for me behind the scenes. I’m not sure what version it is using. If I do import numpy myself, I get version 1.19.5

Your syntax is correct. I do not see this warning with the same NumPy version.
Probably it is gone with newer ObsPy versions. Anyway its just a warning :wink: