好吧,基本上我一直在试图让我的柱状图显示星号垂直对齐的字母,它在上面递增。我一直在试图找出让星号在字母重复之上排列的最有效方法。有什么建议么? **My current output displays this horizontally**
asfklafjasjfk
A (3) ***
F (3) ***
J (2) **
K (2) **
L (1) *
S (2) **
A
以下是生成直方图的代码。对于完整的代码,你可以参考这个iPython Notebook # Splitting the dataset into malignant and benign.
dataMalignant=datas[datas['diagnosis'] ==1]
dataBenign=datas[datas['diagnosis'] ==0]
#Plotting these