Pandalar barplotta x ekseni işaret etiketleri nasıl döndürülür
Aşağıdaki kodla: import matplotlib matplotlib.style.use('ggplot') import matplotlib.pyplot as plt import pandas as pd df = pd.DataFrame({ 'celltype':["foo","bar","qux","woz"], 's1':[5,9,1,7], 's2':[12,90,13,87]}) df = df[["celltype","s1","s2"]] df.set_index(["celltype"],inplace=True) df.plot(kind='bar',alpha=0.75) plt.xlabel("") Bu komployu yaptım: X ekseni onay etiketlerini 0 dereceye nasıl döndürebilirim? Bunu eklemeyi denedim ama işe yaramadı: plt.set_xticklabels(df.index,rotation=90)