WIP: Fix matplotlib, etc. errors

I would like the deprecation warning to show the actual error message. It might also make sense to replace the error again with the original one if the fallback failed as well.