Ask Your Question

Revision history [back]

click to hide/show revision 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...),