Use the matplotlib deprecation warning (I think it is in cbook)