But this workaround seems to prevent me from saving the fig in pdf (or
svg):

 File "/opt/SAGE/local/lib/python2.6/site-packages/matplotlib/
dviread.py", line 727, in _register
    assert encoding is None
AssertionError

Here's the code:
# -*- coding: utf-8 -*-
from sage.all import *
import matplotlib as mpl
mpl.rcParams['text.usetex'] = True
plt = plot(sin, -pi, pi)
plt.axes_labels([ 'Valeur', r"\'{E}chantillon" ])
save(plt,filename='/home/maxim/test.pdf')

Same thing happens if I try to use pyplot instead.
Any clues or other ideas?

Thanks,
Maxim

-- 
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/sage-support
URL: http://www.sagemath.org

Reply via email to