Jean-Pierre,
> I was considering investing in learning sage and use it in my work on
> optimization algorithms. I now understand I have to expect
> incompatibilities with some python packages, and no help from this
> list. I'll stick to standard python for now.
Usually you get a fast answer here, so don't give up and don't be
froward,
sage comes with it's own Python installation, you can acess it through
typing "sage-python" on the command line (if you have the sage_root
directory in your path), this is nothing else than the "sage version"
of Python, your example file works this way, too (sage-python
example.py), the configuration file of the sage version of matplotlib
is ~/.sage/matplotlibrc, you may change the settings here as they are
in the configuration file of your original version of matplotlib,
namely ~/.matplotlib/matplotlibrc, if there is no such file you have
to change some settings in ~/.sage/matplotlibrc:
search for the line
backend : Agg
and change it to one of the possible settings (you can read it in the
file), i for example now have
backend: TkAgg
but also
backend : GTK
works on my computer
also i recommend to include the line
toolbar : toolbar2 # choose none, classic or toolbar2
then it should work as you expect,
btw, as people here are very bussy you should isolate the problem, in
your case reduce it, for example, to the simple file:
import pylab
pylab.plot([1,2,3])
pylab.show()
then your chances to get an answer is even better, a short description
of which version of sage on what system (Linux, Windows, ..., 32-bit,
64-bit) could also be helpful,
yours, Georg