It seems that matplotlib will deprecate the cross_from_above and cross_from_below functions in the upcoming version 3.1
This is a shame as they're very useful tools for "returning the indices where a 1D array crosses a threshold from above/below". See current documentation at: https://matplotlib.org/api/mlab_api.html
I can't find any discussion of this online so wonder if there are replacement functions that I should be using instead for the same functionality?