Plot C arrays with matplotlib