CLN: Fix userguide deprecation warning new numpy
This should get the ipython directives passing
I don't think we will want to pin numpy on the backport branch for ci, so should probably backport this. thanks @phofl  @meeseeksdev backport 1.2.x Something went wrong ... Please have  a look at my logs.