made animation example compatible with current version of matplotlib
made animation example compatible with current version of matplotlib

anubhavvardhan/qutip,qutip/qutip,zasdfgbnm/qutip,qutip/qutip,zasdfgbnm/qutip,cgranade/qutip,cgranade/qutip,anubhavvardhan/qutip