Ask Your Question

working with latest version of matplotlib in sagemath

asked 2012-03-05 01:07:45 +0200

ebs gravatar image

The latest version of matplotlib is 1.1.0 and it brings new modules like matplotlib.animation(I get marks in exams only if I use this module to animate(crazy isn't it! ))

How can I install the latest matplotlib in sagemath 4.8.3 x86-64 version?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-03-05 01:25:02 +0200

Shashank gravatar image

updated 2012-03-05 02:43:13 +0200

I just tried out the following and seems to work for me. I get a bunch of warnings so I am not sure it is fully functional but the I can import matplotlib.animation

On your linux terminal type(assuming sage is in your PATH)

sage -sh

You will get a sage shell. In that type

easy_install -U matplotlib

That should do it.

Edit: For some reason does not work for me. And does not work unless you have ffmpeg installed. So install ffmpeg on you machine and save the movie in mp4 format.

edit flag offensive delete link more

answered 2012-03-05 13:06:50 +0200

Try this (from the command line):

sage -i

It might also help to apply the patch from Sage trac ticket 11915.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-03-05 01:07:45 +0200

Seen: 580 times

Last updated: Mar 05 '12