| 1 | initial version |
Possible workaround :
sage: from matplotlib.pyplot import xkcd as mpx
sage: with mpx(): plot(sin, (-pi, pi))
with mpx(): creates a context manager where the effects of mpx apply ; this avoids setting a permanent switch toxkcd style that mpx() would triggere (and which I do not (yet) know how to reverse).
HTH (but doubting it...),
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.