I made a list
> Book_of_Death_Count
1.0 49
2.0 73
3.0 97
4.0 27
5.0 61
Name: Book of Death, dtype: int64*
When I type
a = Book_of_Death_Count.plot(),
b = plt.plot(Book_of_Death_Count)
The result of the two is the same, but:
a.set_xticks(np.arange(1,6))
works;b.set_xticks(np.arange(1,6))
doesn't work.
What's the difference of these two code?