fixed some issues with pyplot/OO API usage in 3D examples. Fixed annimation example on ubuntu 14.04