Can you explain this piece of code. I was trying to plot a graph with months on the X axis, I came across this piece of code and I am not able to understand the expression given for start and end parameter for the linespace()
plt.xticks( np.linespace(15, 15 + 30*11 , num = 12), (r'Jan', r'Feb', r'Mar', r'Apr', r'May', r'Jun', r'Jul', r'Aug', r'Sep', r'Oct', r'Nov', r'Dec') )
My exact question is : 1) Why 'r' is used before every month names ? 2) start parameter in linespace() is 15. Does it mean that the first tick should start from the 15th location?