a patch to examples/intermediate/mplot3d.py

2 views
Skip to first unread message

chu-ching huang

unread,
Dec 20, 2009, 6:55:48 PM12/20/09
to sympy
Hi all,

As title, this is a patch for matplotlib used in Sympy:

@@ -17,7 +17,7 @@

try:
import pylab as p
- import matplotlib.axes3d as p3
+ import mpl_toolkits.mplot3d as p3
except ImportError:
raise ImportError("Matplotlib is required to use mplot3d.")

tested with matplotlib-0.99.1

cch

Aaron S. Meurer

unread,
Dec 21, 2009, 2:01:12 AM12/21/09
to sy...@googlegroups.com
I can verify that it doesn't work before this patch and that it works afterwords on Mac OS X 10.6 with matplotlib installed via fink (0.99.0). I'd like further verification first though, as I am not too familiar with matplotlib.

Thanks for the patch. Just for the future, it is much easier to apply patches if you make them with git, although for small changes like this, it isn't as big of a deal because they can be applied manually even. See http://code.google.com/p/sympy/wiki/GitTutorials

Aaron Meurer

> --
>
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>
>

Ondrej Certik

unread,
Dec 23, 2009, 2:49:41 PM12/23/09
to sy...@googlegroups.com
On Mon, Dec 21, 2009 at 8:01 AM, Aaron S. Meurer <asme...@gmail.com> wrote:
> I can verify that it doesn't work before this patch and that it works afterwords on Mac OS X 10.6 with matplotlib installed via fink (0.99.0).  I'd like further verification first though, as I am not too familiar with matplotlib.

http://code.google.com/p/sympy/issues/detail?id=1781


Ondrej

Reply all
Reply to author
Forward
0 new messages