Set tick labels in matplotlib
<p>I'm trying to make some manipulations with tick labels in matplotlib. But it seems that code does not do what I want, and I have no idea why? There is no labels.</p>

<pre><code>In[1]: import matplotlib.pyplot as plt
       import numpy as np

In[2]: x = np.arange(0,10)

In[3]: plt.plot(x,x)

       locs, labs = plt.xticks()
       plt.xticks(locs[1:], labs[1:])

       plt.show()
</code></pre>

<p><a href="https://i.stack.imgur.com/wuZjb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wuZjb.png" alt="enter image description here"></a></p>

<p>Any help please! What I want is to delete first label on x axis:<br>
<a href="https://i.stack.imgur.com/tlosU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tlosU.png" alt="enter image description here"></a><br>
I'm using:<br>
python 3.5.2<br>
matplotlib 1.5.3<br>
win 10  </p>