Skip to main content
Just for consistency
Source Link
borgr
  • 26.4k
  • 6
  • 29
  • 41

I had a problem with the answer by @mwaskorn, namely that

g.set_xticklabels(rotation=30) 

fails, because this also requires the labels. A bit easier than the answer by @Aman is to just add

plt.xticks(rotation=45rotation=30) 

I had a problem with the answer by @mwaskorn, namely that

g.set_xticklabels(rotation=30) 

fails, because this also requires the labels. A bit easier than the answer by @Aman is to just add

plt.xticks(rotation=45) 

I had a problem with the answer by @mwaskorn, namely that

g.set_xticklabels(rotation=30) 

fails, because this also requires the labels. A bit easier than the answer by @Aman is to just add

plt.xticks(rotation=30) 
Source Link
Gijs
  • 11k
  • 5
  • 29
  • 42

I had a problem with the answer by @mwaskorn, namely that

g.set_xticklabels(rotation=30) 

fails, because this also requires the labels. A bit easier than the answer by @Aman is to just add

plt.xticks(rotation=45)