Plot potential energy surfaces with matplotlib