Hi,
A quick (probably easy) question: how do you do a label in two lines and
with both lines centered?
xlabel('first line \n second line') don't center both :(
best,
-Yva.
--
OpenSolaris 2009.06 is a cutting edge oper
Hi,
I'm trying to add label to a histogram with multiple data. The doc says
"label can also be a sequence of strings" but when I try:
plt.hist([listA, listB, listC], bins=25, histtype='bar',
alpha=0.75,rwidth=0.85,label=['A','B','C'])
I got an error:
"AttributeError: 'tuple' object has no attr