I wonder how linebreaks in plots using xkcd do work. If I use
import matplotlib.pyplot as plt
#plt.xkcd()
plt.annotate('Testing\nThis\nOut', xy=(0.5, 0.5))
plt.show()
The output is as expected, but without xkcding. Commenting plt.xkcd()
in, the annotation after
'Testing' vanishes.
I tried it with python3.3 and 2.7, py33 & py27-matplotlib installed with port on Mac0SX.