Em 22-01-2013 22:23, Aaron Meurer escreveu:
You'll need to do this first (before importing SymPy) because of a
SymPy bug where importing SymPy imports matplotlib and already sets
the backend (see
http://code.google.com/p/sympy/issues/detail?id=3427). Aaron Meurer
About SymPy always loading MatPlotLib and NumPy, this behaviour
isn't desired in many cases. For example :
- see the benchmark of SymPy on Maemo/MeeGo Harmattan :
http://talk.maemo.org/showthread.php?t=78568
time to load "from sympy import *" : 3.5s (v0.7.2), 2.4s (v0.7.2 without
MatPlotLib), 2.0s (v0.7.2 without PyLab), 1.7s (v0.7.1);
so even if the user doesn't need any plot, it takes 3.5s instead of 2.0s
to load if MatPlotLib and NumPy are installed;
- there are Integral, Derivative and Limit softwares for Maemo 5, if
SymPy 0.7.2 is used and MatPlotLib and NumPy are installed, the
benchmark is for "from sympy import *" : 8.0s (v0.7.2), 4.1s (v0.7.2
without MatPlotLib), 3.5s (v0.7.2 without PyLab), 2.3s (v0.7.1). So,
from 3.5s to 8.0s.
So I support the issue 3427 should be solved.
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.