Closed megies closed 7 years ago
It seems that on newer matplotlib our code fails because Figure.savefig() doesn't accept a StringIO instance anymore.. need to double check..
Figure.savefig()
StringIO
/home/megies/anaconda/envs/pySW4/lib/python2.7/site-packages/pySW4/plotting/image.py:212: UserWarning: Failed to create a movie: unicode argument expected, got 'str' warnings.warn(msg)
(Pdb) n > /home/megies/anaconda/envs/pySW4/lib/python2.7/site-packages/pySW4/plotting/image.py(109)image_files_to_movie() -> fig.savefig(string_io, format='png') (Pdb) n TypeError: "unicode argument expected, got 'str'"
Looks good to me. You can go ahead and merge this...
It seems that on newer matplotlib our code fails because
Figure.savefig()
doesn't accept aStringIO
instance anymore.. need to double check..