move numpy ahead of matplotlib